Package Exports
- assert-node-version
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (assert-node-version) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
assert-node-version
A module to assert the current node version against the one in the package.json or .nvmrc file.
API
// 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])