Semantic Versioning (SemVer)

Versioning

Semantic Versioning uses the format MAJOR.MINOR.PATCH to indicate different types of changes in a software package.

NPM Dependency Version

In Node Package Manager (NPM), there are several ways to specify dependencies in a package.json file.

Ranges

The following examples show how ranges can be specified:

Reference