own-version

v0.0.2
Retrieve main package's version
version npm package

own-version

Retrieve main package's current version.

Usage

Install via npm:

$ npm install --save own-version

Include in the app:

var ownVersion = require('own-version');

ownVersion(function (err, version) {
  console.log('Current version is', version);
});

Or synchronously:

var version = ownVersion.sync();

License

MIT

npm i own-version

Metadata

  • MIT
  • Whatever
  • RJ Zaworski
  • released 12/7/2014

Downloads

Maintainers