May 2018
Intermediate to advanced
492 pages
12h 3m
English
It's important that your Node.js software runs on the correct version of Node.js. The primary reason being when new features are added to the platform. You'll want to use those new features, whether it is the async functions added in 8.x or the ES Modules supported added in 10.x. We need a way to declare the Node.js version required to run our software.
This dependency is declared in package.json using the engines tag:
"engines": {
"node": ">= 8.x"
}
This, of course, uses the same version number matching scheme discussed earlier.
Read now
Unlock full access