middleware-async

v1.3.6
A handy tool to work with async/promise express middleware
connect express async middleware ES6 promise async await

build

yarn build:es && yarn build:commonjs

build:es

yarn tsc -d --skipLibCheck --target es5 --moduleResolution node --module es6 --outDir es index.ts && mv es/index.js index.mjs && rm -rf es

build:commonjs

yarn tsc -d --skipLibCheck --target es5 --moduleResolution node --module commonjs --outDir . index.ts

test

yarn jest

coverage

yarn jest --coverage

clean

rm -rf index.d.ts index.js coverage

lint

yarn eslint index.ts

prepublishOnly

yarn clean && yarn lint && yarn coverage && yarn clean && yarn build

Metadata

  • MIT
  • Whatever
  • Tran Sang
  • released 3/1/2023

Downloads

Maintainers