Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sinchang/yarn-global-packages

get yarn global packages
https://github.com/sinchang/yarn-global-packages

packages yarn

Last synced: 7 days ago
JSON representation

get yarn global packages

Awesome Lists containing this project

README

        

# yarn-global-packages

[![NPM version](https://img.shields.io/npm/v/yarn-global-packages.svg?style=flat)](https://npmjs.com/package/yarn-global-packages) [![NPM downloads](https://img.shields.io/npm/dm/yarn-global-packages.svg?style=flat)](https://npmjs.com/package/yarn-global-packages) [![CircleCI](https://circleci.com/gh/sinchang/yarn-global-packages/tree/master.svg?style=shield)](https://circleci.com/gh/sinchang/yarn-global-packages/tree/master)

## Install

```bash
yarn add yarn-global-packages
```

## Usage

```js
const yarnGlobalPackages = require('yarn-global-packages')

yarnGlobalPackages()
// [ { name: 'cmdstats', version: '^0.0.2' } ]
```

## Related projects

* [yarn-global-packages-cli](https://github.com/sinchang/yarn-global-packages-cli)

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## Author

**yarn-global-packages** © [sinchang](https://github.com/sinchang), Released under the [MIT](./LICENSE) License.

Authored and maintained by sinchang with help from contributors ([list](https://github.com/sinchang/yarn-global-packages/contributors)).

> [sinchang.me](https://sinchang.me) · GitHub [@sinchang](https://github.com/sinchang) · Twitter [@sinchangwen](https://twitter.com/sinchangwen)