express-source-version
v1.0.0
Published
Middleware for express to export the current source version
Downloads
2
Readme
express-source-version
An express middleware that tries to resolve the source version and put it on the response locals.
Usage:
app.use(require('express-source-version'));
The source version can then be access in res.locals.sourceVersion
.