0.0.2 • Published 4 years ago
npm-global-list v0.0.2
npm-global-list
Get all npm packages installed globally
Install
$ yarn add npm-global-list
Usage
const npmGlobalList = require('npm-global-list')
npmGlobalList().then(pkgs => console.log(pkgs))
// => ['list', 'of', 'globally', 'installed', 'packages', ...]
API
npmGlobalList()
Returns a promise
Related
- npm-global-list-cli — CLI for this module
License
MIT © Bu Kinoshita