Osprey Router
Simple middleware-style router for RAML based on router.
Installation
npm install osprey-router --save
Usage
This module is an instance of router with support for RAML paths and parameters.
Router(options)
All options and functions from router are supported, except the second argument can be an optional array of webapi-parser Parameter
objects. For example:
const finalhandler = const http = const Router = const utils = const router = const parameters = utils router const server = http server
When you specify the parameter type, it'll automatically be parsed in the native JavaScript type.
License
Apache 2.0