es-mitt
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

es-mitt

Fork of https://github.com/developit/mitt, but using the npm name: es-mitt

npm

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 of flow, as src/index.ts
  • main file point to dist/index.js as node module
  • using class and keep other es2015 features

Package Sidebar

Install

npm i es-mitt

Weekly Downloads

4

Version

1.2.0

License

MIT

Unpacked Size

23.8 kB

Total Files

12

Last publish

Collaborators

  • cssobj