ef.js

Declarative DOM helper experiment

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.

# 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.

// example: version 1.0.0, minified, with license header
import { signal } from "./path/fo/downloaded/ef-1.0.0mh.js";