proto-events

eventemitter based on proto-scope

npm install proto-events
4 downloads in the last month

Events-proto

Eventemitter on my proto-scope module.

Code mainly are from https://gist.github.com/Contra/2759355 .

Usage

npm install --save proto-events
{events} = require './events.js'

a = events.new()

a.on 'demo', (data) ->
  console.log 'demo:', data

a.emit 'demo', 'data?'

License

BSD-2-Clause

npm loves you