1.0.1 • Published 4 years ago

nvm-global-installs v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

NVM Global Installs Travis CI Build Status

Get the globally installed packages for any nvm-selectable version.

NPM Badge

Install

npm install nvm-global-installs

Usage

const nvmGlobalInstalls = require("nvm-global-installs");

nvmGlobalInstalls("v13.5.0");
//=> { 'v13.5.0': { npm: '6.13.4', yarn: '1.21.1' } }

API

nvmGlobalInstalls(version?)

version

Type: string

The version to get the globally installed packages for.

CLI Usage

$ ngi
\ Traversing dependencies
├─ v0.10.48
│  └─ npm
├─ v12.14.0
│  ├─ active-win
│  ├─ npm
│  ├─ windows-build-tools
│  └─ yarn
└─ v13.5.0
   ├─ ngi
   ├─ npm
   └─ yarn