@tridnguyen/version
v1.0.0
Published
Get the version number of your npm package
Readme
version
get the version of your npm package
Install
:; npm install @tridnguyen/versionUsage
CLI
:; versionProgrammatically
// if the script is at the root directory of your package
var v = require('@tridnguyen/version')();
// or
var v = require('@tridnguyen/version')('path/to/your/package');