UNPKG

1.86 kBMarkdownView Raw
1# get-pkgs [![NPM version](https://img.shields.io/npm/v/get-pkgs.svg?style=flat)](https://www.npmjs.com/package/get-pkgs) [![Build Status](https://img.shields.io/travis/jonschlinkert/get-pkgs.svg?style=flat)](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
6
7Install with [npm](https://www.npmjs.com/):
8
9```sh
10$ npm install get-pkgs --save
11```
12
13## Usage
14
15```js
16var getPkgs = require('get-pkgs');
17
18getPkgs(['assemble', 'verb'], function(err, pkgs) {
19 console.log(pkgs);
20});
21```
22
23## Related projects
24
25* [get-first-commit](https://www.npmjs.com/package/get-first-commit): Returns a git repository's first commit as a JavaScript object. | [homepage](https://github.com/jonschlinkert/get-first-commit)
26* [get-pkg](https://www.npmjs.com/package/get-pkg): Get the package.json for a project from npm. | [homepage](https://github.com/jonschlinkert/get-pkg)
27* [github-base](https://www.npmjs.com/package/github-base): Base methods for creating node.js apps that work with the GitHub API. | [homepage](https://github.com/jonschlinkert/github-base)
28
29## Running tests
30
31Install dev dependencies:
32
33```sh
34$ npm install -d && npm test
35```
36
37## Contributing
38
39Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/get-pkgs/issues/new).
40
41## Author
42
43**Jon Schlinkert**
44
45* [github/jonschlinkert](https://github.com/jonschlinkert)
46* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
47
48## License
49
50Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
51Released under the [MIT license](https://github.com/jonschlinkert/get-pkgs/blob/master/LICENSE).
52
53***
54
55_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on April 10, 2016._
\No newline at end of file