UNPKG

1.04 kBMarkdownView Raw
1# get-pkgs [![NPM version](https://badge.fury.io/js/get-pkgs.svg)](http://badge.fury.io/js/get-pkgs) [![Build Status](https://travis-ci.org/jonschlinkert/get-pkgs.svg)](https://travis-ci.org/jonschlinkert/get-pkgs)
2
3> Get the package.json for an array of repos from the npm registry, optionally filtering properties using glob patterns.
4
5## Install with [npm](npmjs.org)
6
7```bash
8npm i get-pkgs --save
9```
10
11## Usage
12
13```js
14var get = require('get-pkgs');
15
16// filter out properties like `_shasum`
17get(['assemble', 'verb'], '!_*', function(err, pkgs) {
18 console.log(pkgs);
19});
20```
21
22## Run tests
23
24Install dev dependencies:
25
26```bash
27npm i -d && npm test
28```
29
30## Contributing
31Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/get-pkgs/issues)
32
33## Author
34
35**Jon Schlinkert**
36
37
38## License
39Copyright (c) 2015 Jon Schlinkert
40Released under the MIT license
41
42***
43
44_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on February 27, 2015._