Node.JS Package Multiple Version Installer is a command tool, which allows you to install multiple versions for the same package in a project.
NPMVI is NOT a replacement for NPM
$ npm install -g npmvi
$ cd ~/your_project
$ npmvi install [email protected]
$ npmvi install [email protected]
It's like the npm install
command but it's used to install multi-version
$ cd ~/your_project
$ npmvi install
var express3NpmviObject = require('@npmvi/express-3.0.0');
var express4NpmviObject = require('@npmvi/express-4.0.0');
express3NpmviObject.index; // the original express3 module entrance
express3NpmviObject.name; // express
express3NpmviObject.version; // 3.0.0
express3NpmviObject.packageJSON; // express3 package.json
express3NpmviObject.isNPMVI; // true
express4NpmviObject.index; // the original express4 module entrance
express4NpmviObject.name; // express
express4NpmviObject.version; // 4.0.0
express4NpmviObject.packageJSON; // express4 package.json
express4NpmviObject.isNPMVI; // true
$ cd ~/your_project
$ npmvi remove [email protected]
$ npmvi remove [email protected]