Skip to content
E

Eventemitter3

Because there's also a number 2. And we're faster

by primusFree

#822in Utilities
0In stores

Description

EventEmitter3 is a high-performance EventEmitter for Node.js and browsers. It is micro-optimized for common code paths, and its README says…

Highlights

  • Fast drop-in EventEmitter for Node.js and browsers
  • Custom context for listeners, no fn.bind
  • Written in ECMAScript 3 for old runtimes
  • Tests and benchmarks in the repository
  • MIT license

Ratings & Reviews

No ratings yet

Be the first to rate Eventemitter3.

People also visit

E

Evt

EventEmitter's typesafe replacement

Utilities
Launch
C

Canvas Confetti

performant confetti animation in the browser

Utilities
Launch
J

JS Libp2p

A JavaScript Implementation of libp2p networking stack

Utilities
Launch
B

Browserify

browser-side require() the node.js way

Utilities
Launch
B

Buffer

The buffer module from node.js, for the browser

Utilities
Launch
B

BenchJS

Run, compare, and share JavaScript benchmarks in your browser with BenchJS

Utilities
Launch

Eventemitter3 FAQ

What is EventEmitter3?

A fast EventEmitter library for Node.js and browsers that works as a replacement for the built-in one.

Is it a drop-in replacement?

Mostly. The README says it is API compatible with Node's EventEmitter, with some differences such as no domain support and no prependListener.

How do I install it?

The README gives installation steps and a recommended CDN.

Does it work in old browsers?

Yes. The README says it is written in ECMAScript 3, so it works in the oldest browsers and Node.js versions you need to support.

Is it free?

Yes. It is released under the MIT License.

Where are the benchmarks?

In the GitHub repository. The benchmark and test files are not in the npm package.

What are the best Eventemitter3 alternatives?

Popular alternatives to Eventemitter3 include Evt, Canvas Confetti and JS Libp2p. See all Eventemitter3 alternatives

Developer Stuff

Badges