Have ideas to improve npm?Join in the discussion! »

get-pkgs

0.2.2 • Public • Published

get-pkgs NPM version Build Status

Get the package.json for an array of repos from the npm registry, optionally filtering properties using glob patterns.

Install with npm

$ npm i get-pkgs --save

Usage

var get = require('get-pkgs');
 
// filter out properties like `_shasum`
get(['assemble', 'verb'], '!_*', function(err, pkgs) {
  console.log(pkgs);
});

Related projects

  • filter-object: Return a copy of an object, filtered to have only keys that match the given… more
  • helper-related: Template helper for generating a list of links to the homepages of related GitHub/npm projects.
  • helper-reflinks: Template helper for generating a list of markdown formatted reference links to github repos for… more

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on August 01, 2015.

Install

npm i [email protected]

Version

0.2.2

License

MIT

Last publish

Collaborators

  • avatar