litt

1.0.2 • Public • Published

litt
litt: tiniest 121b javascript event emitter / pubsub in the world.

Why Litt?

  • Sub-atomic: weighs 121 bytes gzipped
  • Useful: Is nearly 2x smaller than mitt!
  • Familiar: same names & ideas as Node's EventEmitter
  • Functional: methods don't rely on this
  • Great Name: This pubsub event emitter is litt af. Because L comes before M so not just its filesize is smaller, but also its name's ordinality.
  • Reproducible: gzip -9 -n index.js && ls -l index.js.gz

Litt was made for all ES6 JavaScript platforms.

Even though Litt works fine IT'S A JOKE guys. Please don't use this for production. Or probably anything.

Yes I will accept pull requests to make it smaller...All that's left to do is change function names really...

Package Sidebar

Install

npm i litt

Weekly Downloads

2

Version

1.0.2

License

ISC

Last publish

Collaborators

  • lf94