events-emit

1.0.0 • Public • Published

events-emit

single events emitter listener

Install

$ npm install events-emit

Usage

function Obj() {
}

// es6
// class Obj {
// }

var Emitter = require('events-emit');

new Emitter(Obj.prototype, {prefix: '$'});

API

See the Node.js EventEmitter docs

License

MIT

Package Sidebar

Install

npm i events-emit

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.21 kB

Total Files

4

Last publish

Collaborators

  • paul-long