Ninjas Practicing Multidimensionality
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    eekpublic

    eek

    mix in an EventEmitter to your constructor

    usage

    var eek = require('eek')
     
    var foo = eek(function foo() {
      this.isAFoo = true
    })
     
    var bar = new foo()
    bar instanceof foo
    // => true
     
    bar.on('foo', function (val) {
      // this is called
      // val => 23
    })
    bar.emit('foo', 23)

    installation

    $ npm install eek
    

    running the tests

    From package root:

    $ npm install
    $ npm test
    

    contributors

    license

    MIT. (c) MMXIII jden jason@denizac.org. See LICENSE.md

    install

    npm i eek

    Downloadsweekly downloads

    1

    version

    0.1.0

    license

    MIT

    last publish

    collaborators