-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
# Installation
This package is available as ESM via npm.
This is a recommended way for bundler usages.
You can also download a bundled ESM file directly.
This is the recommended way for non-bundler usages.
## npm
Add `@pocka/ef` to your `package.json` by using a package manager of your choice.
```sh
# Example: using official npm CLI
npm i @pocka/ef
```
## Bundled ESM
Download the `ef-<version><modifier>.js` then load it from your script.
If the filename has `h` modifier, you don't need to distribute the `LICENSE` file as the source code already includes a license header.
```js
// example: version 1.0.0, minified, with license header
import { signal } from "./path/fo/downloaded/ef-1.0.0mh.js";
```