UNPKG

express-router-config

Version:

The laziest way to route your express app.

9 lines (8 loc) 316 B
/** * takes a restify server as an argument, returns a function * that takes an array of object. * @param {Server} server restify server * @param {boolean} verbose log routing * @returns routing function */ export default function configureRoutes(server: any, verbose?: boolean): (routes: any) => any;