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
|
8 | npm i get-pkgs --save
|
9 | ```
|
10 |
|
11 | ## Usage
|
12 |
|
13 | ```js
|
14 | var get = require('get-pkgs');
|
15 |
|
16 | // filter out properties like `_shasum`
|
17 | get(['assemble', 'verb'], '!_*', function(err, pkgs) {
|
18 | console.log(pkgs);
|
19 | });
|
20 | ```
|
21 |
|
22 | ## Run tests
|
23 |
|
24 | Install dev dependencies:
|
25 |
|
26 | ```bash
|
27 | npm i -d && npm test
|
28 | ```
|
29 |
|
30 | ## Contributing
|
31 | Pull 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
|
39 | Copyright (c) 2015 Jon Schlinkert
|
40 | Released 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._
|