1.4.1 • Published 9 years ago
acquaint v1.4.1
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