# BaseLibrary

`com.jsmacrosce.jsmacros.core.library.BaseLibrary`

Base class for registered script libraries. The registry constructs instances per profile by
default; subclasses can instead use per-language or per-execution lifetimes.

## Constructors

### new BaseLibrary {#com.jsmacrosce.jsmacros.core.library.BaseLibrary_constructor-Core-}

```js
new BaseLibrary(Core<?, ?> runner)
```

Initializes this library with its associated core.

**Parameters:**
- `runner`: core associated with this library

## Fields

### runner {#com.jsmacrosce.jsmacros.core.library.BaseLibrary_runner}

```js
runner: Core<?, ?>
```

Core instance used to construct this library. It is exposed through the public field, but is
internal infrastructure rather than a supported script API.
