Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

linked

JacksonTian6MIT0.2.0

tiny middleware framework

middleware

readme

linked

Installation

$ npm install linked

Usage

var linked = require('linked');
var app = linked();
app.use(function (ctx, next) {
  // step 1
  next();
}, function (ctx, next) {
  // step 2
  next();
}, function (ctx, next) {
  next();
});
// start execute.
app();
// or
app.go();

License

The MIT License