Thanks to visit codestin.com
Credit goes to github.com

Skip to content

futurist/mitt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🥊 Tiny 200 byte functional event emitter / pubsub.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 65.5%
  • TypeScript 34.5%