Skip to content

bukinoshita/npm-global-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-global-list Build Status

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

License

MIT © Bu Kinoshita