Hapi autoloader through glob patterns or direct inject
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.



Build Status Coverage Status Code Climate NPM Version NPM Downloads
Dependency Status Known Vulnerabilities NSP Status

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 cache and bind.
  • Set default options such as cache and bind on loaded methods capable for override or merge.

Head to the API documentation.

See it in action in this TodoMVC demo for hapi.