1.0.1 • Published 10 years ago
version-route v1.0.1
version-route
Expose the package.json version and git info as a hapi route
npm install version-routeUsage
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/vLicense
MIT
1.0.1
10 years ago