@tridnguyen/version
v1.0.0
Published
Get the version number of your npm package
Downloads
391
Readme
version
get the version of your npm package
Install
:; npm install @tridnguyen/version
Usage
CLI
:; version
Programmatically
// 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');