1.0.1 • Published 9 years ago

version-route v1.0.1

Weekly downloads
8
License
-
Repository
github
Last release
9 years ago

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