package-version
Get the version of a package from package.json
Installation
npm install package-version --save
version(cwd, callback);
var version = ;;
- cwd
path
the directory of the package - callback
function(err, version)
- err
Error
- version
semver
- err