Skip to content

freaking-awesome/ware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ware Build Status

Your own middleware layer.

 

Install

npm install freaking-awesome/ware
npm test

Use

var Ware= require('ware')
Ware()

    // define

    .use(function (a, b, c, next) {
        next()
    })

    .use(function (a, b, c, next) {
        next()
    })

    .use(Ware()

        .use(function (a, b, c, next) {
            next()
        })

        .use(Ware()

            .use(function (a, b, c, next) {
                next()
            })

        )

        .use(function (a, b, c, next) {
            next()
        })

    )

    // run

    .run('a', 'b', 'c', function (err, a, b, c) {

    })

;

About

Your own middleware layer.

Resources

Stars

Watchers

Forks

Packages

No packages published