1.0.7 • Published 5 years ago

hapi-routes-endpoint v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

hapi-routes-endpoint

npm

Lightweight hapi.js plugin that creates an endpoint listing all your app's routes.

Installation

npm install hapi-routes-endpoint

or

yarn add hapi-routes-endpoint

Usage

const hapiRoutesEndpoint = require('hapi-routes-endpoint');

const start = async function() {
  const server = Hapi.server();

  // Register plugin
  await server.register(hapiRoutesEndpoint);
};

TODO:

  • Make TS typings work properly
  • Make endpoint customizable! (currently hardcoded as '/')
  • Make route information customizable (currently in the form of 'GET /foo-endpoint')
  • Add circleci
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago