nvm-global-installs
v1.0.1
Published
Get the globally installed packages for any nvm-selectable version.
Downloads
8
Maintainers
Readme
NVM Global Installs
Get the globally installed packages for any nvm-selectable version.
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