Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iainjreid/hapi-registrar


https://github.com/iainjreid/hapi-registrar

hapi hapi-plugin

Last synced: about 22 hours ago
JSON representation

Awesome Lists containing this project

README

        

# Hapi Registrar

Simple, object-oriented registration for Hapi Routes, Methods, and Handlers

[![npm](https://img.shields.io/npm/v/hapi-registrar.svg?style=flat-square)][npm]
[![travis](https://img.shields.io/travis/iainreid820/hapi-registrar/master.svg?style=flat-square)][travis]

### Plugin description

This Hapi plugin provides a quick, easy, and efficient interface to register Routes, Methods, and Handlers. Rather than
scanning directories like other tools that attempt to achieve this behaviour, this plugin accepts an individual object
for the Routes, Methods, and Handlers respectively.

[npm]: https://www.npmjs.com/package/hapi-registrar
[greenkeeper]: https://www.greenkeeper.io
[travis]: https://www.travis-ci.org