Nefariously Pushing Master
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    alignpublic

    Align

    npm install align

    A very simple queue.

    Example

    var Align = require('align')
    var align = new Align(function() {
        console.log('Done');
    });
     
    align.push(function(next) {
        next('foo');
    });
     
    align.push(
        function(foo, next) {
            console.log(foo === 'foo');
            next('bar')
        },
        function(bar, next) {
            console.log(bar === 'bar');
            next();
        }
    );
     
    align.init();
     

    License

    MIT

    Keywords

    none

    install

    npm i align

    Downloadsweekly downloads

    4

    version

    0.0.1

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar