See the written version of this tutorial, links to prerequisites, and related tutorials at: https://heynode.com/tutorial/what-sem...
The Node Package Manager (npm) ecosystem uses Semantic Versioning, or SemVer, as the standard for version numbers. By default, when installing an npm package without specifying a version, npm installs the latest version published to the NPM registry. Because we don't store our node_modules/ folder in version control, the actual code of our dependencies, and reproducibility of the dependency graph, is tied to a version number.
In this tutorial we'll:
Learn about package version management and why it's important.
Understand how packages and dependencies are versioned in Node Package Manager.
Learn about dependency drift and how to prevent it.
Heynode.com: the best online Node.js courses and tutorials to help you solve hard problems fast.