compose-middleware

v5.0.1
Compose an array of middleware into a single function for use in Express, Connect, router, etc.
middleware express compose flatten function

lint

tslint "src/**/*.ts" --project tsconfig.json

build-ts

tsc

build

rm -rf lib && npm run build-ts

test-spec

mocha lib/**/*.spec.js -R spec --bail

test-cov

istanbul cover -x *.spec.js node_modules/mocha/bin/_mocha -- lib/**/*.spec.js -R spec --bail

test

npm run build && npm run lint && npm run test-cov

prepublish

npm run build
npm i compose-middleware

Metadata

  • MIT
  • Whatever
  • Blake Embrey
  • released 12/3/2018

Downloads

Maintainers