version-route

1.0.1 • Public • Published

version-route

Expose the package.json version and git info as a hapi route

npm install version-route

Usage

var version = require('version-route')(__dirname)

server.route(version);

then you can get the version info of the app on path /v, eg


curl http://localhost:493/v

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i version-route

Weekly Downloads

0

Version

1.0.1

License

none

Last publish

Collaborators

  • eckoit