@to1source/event

v1.5.2
An universal event (emitter) / bus for Browser / Node.js
event esm browser eventEmitter eventBus bus javascript node

prepublishOnly

npm run build && npm run test:coverage

test:ava

ava

test:coverage

nyc ava

build

npm run clean:dist && npm run build:rollup

test

npm run build && npm run test:ava

build:rollup

rollup -c

clean:dist

rimraf ./dist

build:test

rollup -c ./rollup.test.config.js

test:browser

node ./tests/fixtures/browser.js

test:basic

DEBUG=to1source-event:* ava ./tests/basic.test.js

test:ms

DEBUG=to1source-event:* ava ./tests/map-set.test.js

test:once

DEBUG=to1source-event:* ava ./tests/once-problem.test.js

test:alias

DEBUG=to1source-event:* ava ./tests/alias.test.js

test:only

DEBUG=to1source-event:* ava ./tests/only.test.js

test:oo

DEBUG=to1source-event:* ava ./tests/only-once.test.js

test:replace

DEBUG=to1source-event:* ava ./tests/replace.test.js

test:lazy

DEBUG=to1source-event:* ava ./tests/lazy.test.js

test:watch

DEBUG=to1source-event:* ava ./tests/watch.test.js

test:array

DEBUG=to1source-event:* ava ./tests/array-result.test.js

test:suspend

DEBUG=to1source-event:* ava ./tests/suspend.test.js

test:max

DEBUG=to1source-event:* ava ./tests/max.test.js
npm i @to1source/[email protected]

Metadata

Downloads