version-route
v1.0.1
Published
Expose the package.json version and git info as a hapi route
Downloads
4
Readme
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