Asserts the node version against one from the package.json or .nvmrc file
npm install assert-node-versionA module to assert the current node version against the one
in the package.json or .nvmrc file.
javascript
// directory can be a directory which is used to lookup the node version
// process.cwd() is used as default directory
// The method throws an error if the version isn't satisfied
require('assert-node-version')([directory])
``