Installation 
ESMitter can be installed using your package manager of choice and is also available on jsr.io.
sh
npm install esm-ittersh
yarn add esm-ittersh
pnpm add esm-ittersh
deno add jsr:@tillsanders/esm-itterCompatibility 
ESMitter requires Node > v18 or a browser with EcmaScript modules (ESM) support and also supports Deno.
Import 
ESMitter uses named exports. You can import the base class like this:
typescript
import { ESMitter } from "esm-itter";typescript
import { ESMitter } from "@tillsanders/esm-itter";