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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i events-emit

      Weekly Downloads

      2

      Version

      1.0.0

      License

      MIT

      Unpacked Size

      4.21 kB

      Total Files

      4

      Last publish

      Collaborators

      • paul-long