Home

Awesome

npm mit license build status coverage status deps status

Filter the list of user npm packages from the npmjs.com using glob pattern, function, array or regex.

Install

npm i --save npm-pkgs-filter
npm test

API

For more use-cases see the tests

npmPkgsFilter

Filter packages of the given npmjs.com user, using glob pattern, function, array or regex

Example

var npmPkgsFilter = require('npm-pkgs-filter');

npmPkgsFilter('tunnckocore', 'jstransformer-*', function _cb(err, res) {
  if (err) {
    console.error(err);
    return;
  }
  console.log(res);
});

Related

Author

Charlike Mike Reagent

License MIT license

Copyright (c) 2015 Charlike Mike Reagent, contributors.
Released under the MIT license.


Proudly generated by docks(1), April 17, 2015