0.8.4 • Published 7 years ago

es6-eventemitter v0.8.4

Weekly downloads
36
License
Apache-2.0
Repository
github
Last release
7 years ago

ES6-EventEmitter

npm version npm download dependencies license

What is the ES6-EventEmitter?

ES6-EventEmitter is an alternative implementation of node.js's event emitter module. While maintaining the same API with node.js version, it also runs on browser environment.

Quick start

Execute npm install es6-eventemitter to install es6-eventemitter and its dependencies into your project directory.

Usage

import EventEmitter from 'es6-eventemitter';

const events = new EventEmitter();

// subscribe on event 'test'
events.on('test', (value) => { console.log(`event test: ${value}`); });

// invoke event 'test' with parameters
events.emit('test', 'hello world');

Todo List

See GitHub Projects for more.

Requirements

License

Apache 2.0, for further details, please see LICENSE file

Contributing

See contributors.md

It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome.

  • To contribute to code: Fork the repo, push your changes to your fork, and submit a pull request.
  • To report a bug: If something does not work, please report it using GitHub Issues.

To Support

Visit my patreon profile at patreon.com/eserozvataf

0.8.4

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.5

7 years ago

0.7.4

7 years ago

0.7.3

7 years ago

0.7.2

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.2

7 years ago

0.6.0

7 years ago

0.3.0

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago