Skip to content

Hapi autoloader through glob patterns or direct inject

License

Notifications You must be signed in to change notification settings

andrewbunac/acquaint

 
 

Repository files navigation

acquaint

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.

Credits

About

Hapi autoloader through glob patterns or direct inject

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%