hapi-nested-route
add nested function to hapijs route
You can use this plugin to add nested function to your hapi routes.
Usage
Example:
const server = const plugins = ... register: ...; server // you can also use default route function.server; // do nest!const nestedRoute = serverroute; // you can route with arguments.// nestedRoute[method](path: String, config: Object, handler: () => {})// methods: get, post, put, del, anynestedRoute // you can also nest from already nested routerconst doubleNestedRoute = nestedRoute