ef.js

Declarative DOM helper experiment

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
  23. 23
  24. 24
  25. 25
  26. 26
  27. 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";
```