Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/helloandre/es2015-eventemitter3
A port of EventEmitter3 to es2015
https://github.com/helloandre/es2015-eventemitter3
Last synced: 26 days ago
JSON representation
A port of EventEmitter3 to es2015
- Host: GitHub
- URL: https://github.com/helloandre/es2015-eventemitter3
- Owner: helloandre
- Created: 2016-03-03T22:22:00.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-03T22:25:52.000Z (almost 9 years ago)
- Last Synced: 2024-10-27T17:30:38.183Z (2 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ES2015 EventEmitter3
===This is a direct port of [EventEmitter3](https://github.com/primus/eventemitter3) to es2015. It passes the tests exactly (see Caveats below).
This aims to be a drop in replacement for 99% of use cases.
Caveats
---Because we are now using a class instead of a prototype, [util.inherits](https://nodejs.org/docs/latest/api/util.html) now does not work. If you find a solution to this, please file a pull request.
Similarly because we are now exporting a class, the exported object is slightly different. It now does not contain proxies for `EventEmitter2` and `EventEmitter3`.
TODO
---
allow usage with `npm`, `bower`, and `component`.