Install node-semver by entering the following commands in the terminal:
sudo apt update sudo apt install node-semver
Description:
Semantic Versioning for Node.js
Test if version(s) satisfy the supplied range(s), and sort them. Multiple versions or ranges may be supplied. Program exits successfully if any valid version satisfies all supplied ranges, and prints all satisfying versions. . This package provides the `semver` executable and the Node.js module. . Node.js is an event-based server-side javascript engine.
Homepage: https://github.com/isaacs/node-semver
Version: 5.4.1-1
Section: universe/web