show-version

Shows the name and version of parent package and exists

Shows the name and version of parent package and exits. See Also: show-help

$ npm install show-version
if(argv.version) require('show-version')();

will output:

[your-package-name] v[version-number]