Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npmvi

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npmvi

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

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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 express@3.0.0
$ npmvi install express@4.0.0

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 express@3.0.0
$ npmvi remove express@4.0.0

Keywords

FAQs

Package last updated on 18 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc