# Library

`com.jsmacrosce.jsmacros.core.library.Library`

Marks a library class and supplies its script-global name and optional guest-language restrictions.  
 For shared and per-execution libraries, an empty language list allows all languages. Per-language
 library types are registered only for the listed language classes.

## Methods

### languages {#com.jsmacrosce.jsmacros.core.library.Library_languages-}

```js
languages(): Class<? extends BaseLanguage<?, ?>>[]
```

**Returns:** guest-language classes for this library; empty allows all only for shared and per-execution library types

### value {#com.jsmacrosce.jsmacros.core.library.Library_value-}

```js
value(): String
```

**Returns:** the script-global name for this library
