Needlessly Promiscuous, Modularize!
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

express-package-version

0.0.2 • Public • Published

express-package-version

A middleware for surfacing the package.json version of express applications.

Usage

Install via npm:

$ npm install --save express-package-version

Include in the app:

app.use(require('express-package-version')({
  url    : '/package-version',
  format : 'serving @ %s'
}));

Options:

  • url (optional) - the url to serve the version from (default: /version)

  • format (optional) - a format string for wrapping the version in text / HTML responses

License

MIT

install

npm i express-package-version

Downloadsweekly downloads

113

version

0.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability