Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.
/ acquaint Public archive

Hapi autoloader through glob patterns or direct inject

License

Notifications You must be signed in to change notification settings

genediazjr/acquaint

Repository files navigation

acquaint

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

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published