Skip to content
/ npmvi Public

"Node.JS Package Multiple Version Installer" A command tool, which allows you to install multiple versions for the same package in a project.

License

Notifications You must be signed in to change notification settings

MrZenW/npmvi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPMVI

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

Installation

$ npm install -g npmvi

Usage

Install a multi-version in your project

$ cd ~/your_project
$ npmvi install [email protected]
$ npmvi install [email protected]

or install the multi-version that you installed before.

It's like the npm install command but it's used to install multi-version

$ cd ~/your_project
$ npmvi install

Using the multi-version installed with NPMVI

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

Remove

$ cd ~/your_project
$ npmvi remove [email protected]
$ npmvi remove [email protected]

About

"Node.JS Package Multiple Version Installer" A command tool, which allows you to install multiple versions for the same package in a project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published