mitt

v2.0.1
Tiny 200b functional Event Emitter / pubsub.
events eventemitter emitter pubsub

test

npm-run-all --silent typecheck lint testonly

testonly

mocha --require esm test/**/*.js

lint

eslint src test --ext ts --ext js

typecheck

tsc **/*.ts --noEmit

bundle

microbundle

build

npm-run-all --silent clean -p bundle -s docs

clean

rimraf dist

docs

documentation readme src/index.ts --section API -q --parse-extension ts

release

npm run -s build -s && npm t && git commit -m $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 5/27/2020

Downloads

Maintainers