express-min
A module like express but more general using. It combines connect2 with wayfarer.
how to use
you can see example;
const express = ; const app = ; const subApp = ; subApp subApp; const router = express; router try app; app; catche console; const ROUTE_MAP = 1: '/app/passport' 2: '/app2/cart' { let ctx = {}; let req = {}; let res = {}; try ; catch e console; } ;
api
see doc from connect2 with wayfarer.
use(route, ...fns)
Add route and callback to a app.