Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bukinoshita/npm-global-list
Get all npm packages installed globally
https://github.com/bukinoshita/npm-global-list
global install module node npm package yarn
Last synced: 19 days ago
JSON representation
Get all npm packages installed globally
- Host: GitHub
- URL: https://github.com/bukinoshita/npm-global-list
- Owner: bukinoshita
- License: mit
- Created: 2017-09-06T23:12:27.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-03T02:59:27.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T16:08:23.521Z (about 1 month ago)
- Topics: global, install, module, node, npm, package, yarn
- Language: JavaScript
- Homepage:
- Size: 294 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# npm-global-list [![Build Status](https://travis-ci.org/bukinoshita/npm-global-list.svg?branch=master)](https://travis-ci.org/bukinoshita/npm-global-list)
> Get all npm packages installed globally
## Install
```bash
$ yarn add npm-global-list
```## Usage
```js
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](https://github.com/bukinoshita/npm-global-list-cli) — CLI for this module
## License
MIT © [Bu Kinoshita](https://bukinoshita.io)