Language

Semantic Versioning with NPM



Steve Griffith

You’ve probably noticed that software version numbers have three digits separated with periods. Each number has a specific meaning.
When installing packages with Yarn or NPM you need to understand the syntax that you can use to restrict or allow different versions by npm.

NPM server calculator: https://semver.npmjs.com/

SemVer website: https://semver.org/

NPM semver reference page: https://docs.npmjs.com/getting-started/using-a-package.json#specifying-packages .