event-manifest

0.1.0 • Public • Published

event manifest

Create namespaced events.

install

$ npm install event-manifest

example

var Event = require('../event')
var test = require('tape')
 
test('this is the interface more or less', function (t) {
    t.plan(1)
    var A = Event('a')
    var a = A('data')
    t.deepEqual([Event.type(a), Event.data(a)], ['a', 'data'],
        'should curry event type')
})

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i event-manifest

    Weekly Downloads

    2

    Version

    0.1.0

    License

    ISC

    Last publish

    Collaborators

    • nichoth