acquaint
v1.4.1
Published
Routes, Handlers, Methods, Binds (server.bind), and Apps (server.app) Autoloader
Maintainers
Readme
acquaint
Hapi plugin to load routes, handlers, methods, binds (server.bind), and apps (server.app) through globs.
All glob rules apply.
- Supports glob patterns for injecting.
- Supports direct injection through plugin register options.
- Access autoloaded methods on other methods with working
cacheandbind. - Set default options such as
cacheandbindon loadedmethodscapable for override or merge.
Head to the API documentation.
See it in action in this TodoMVC demo for hapi.
Credits
- hapi-router - Auto route loading for Hapi
- hapi-handlers - Autoload handlers for Hapi
- hapi-methods-injection - Scan and register automatically your hapi methods
