.TH "NPM\-VERSION" "3" "October 2014" "" "".SH "NAME"\fBnpm-version\fR \- Bump a package version.SH SYNOPSIS.P.RS 2.nfnpm\.commands\.version(newversion, callback).fi.RE.SH DESCRIPTION.PRun this in a package directory to bump the version and write the newdata back to the package\.json file\..PIf run in a git repo, it will also create a version commit and tag, andfail if the repo is not clean\..PLike all other commands, this function takes a string array as its firstparameter\. The difference, however, is this function will fail if it doesnot have exactly one element\. The only element should be a version number\.