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')
    })

    Install

    npm i event-manifest

    DownloadsWeekly Downloads

    4

    Version

    0.1.0

    License

    ISC

    Last publish

    Collaborators

    • nichoth