es-mitt
Fork of https://github.com/developit/mitt, but using the npm name: es-mitt
Why?
EventEmitter of nodejs is heavy, both in size and API, this lib want keep as light as possible.
Install
npm i -S es-mitt
Different from mitt
- use
typescript
instead offlow
, assrc/index.ts
-
main
file point todist/index.js
as node module - using
class
and keep otheres2015
features