UNPKG

1.77 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
5Install with [npm](https://www.npmjs.com/)
6
7```sh
8$ npm 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## Related projects
23
24* [filter-object](https://github.com/jonschlinkert/filter-object): Return a copy of an object, filtered to have only keys that match the given… [more](https://github.com/jonschlinkert/filter-object)
25* [helper-related](https://github.com/helpers/helper-related): Template helper for generating a list of links to the homepages of related GitHub/npm projects.
26* [helper-reflinks](https://github.com/helpers/helper-reflinks): Template helper for generating a list of markdown formatted reference links to github repos for… [more](https://github.com/helpers/helper-reflinks)
27
28## Running tests
29
30Install dev dependencies:
31
32```sh
33$ npm i -d && npm test
34```
35
36## Contributing
37
38Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/get-pkgs/issues/new)
39
40## Author
41
42**Jon Schlinkert**
43
44+ [github/jonschlinkert](https://github.com/jonschlinkert)
45+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
46
47## License
48
49Copyright © 2015 Jon Schlinkert
50Released under the MIT license.
51
52***
53
54_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 01, 2015._
\No newline at end of file