UNPKG

1.71 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
6
7Install with [npm](https://www.npmjs.com/)
8
9```sh
10$ npm i 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 i -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 © 2015 Jon Schlinkert
51Released under the MIT license.
52
53***
54
55_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on November 22, 2015._
\No newline at end of file