node-github-list-packages

0.0.4 • Public • Published

node-github-list-packages

A node modules that lists packages used by github projects

Give a repository URL this module would search for packages files of different platforms, analyze and list their dependencies. So for example it would look for package.json and list the dependencies found in this file.

Usage

npm install node-github-list-packages
lister = require('node-github-list-packages');
_u = require('underscore');
lister.getUsedPackages('https://github.com/rantav/node-github-list-packages', function(err, packageFiles) {
  // The interesting info is in the packages node of each file
  console.log(_u.union(_u.pluck(packageFiles, 'packages')));
});

Or command line:

$ github-list-packages https://github.com/rantav/node-github-list-packages

Supported Packagers

  • NPM (package.json)
  • Meteor (.meteor/package)
  • Meteor Atmosphere (smart.json)
  • Meteor NPM (packages.js)
  • Python (requirements.txt)
  • Ruby (Gemfile)
  • ...and... More to come...

/node-github-list-packages/

    Package Sidebar

    Install

    npm i node-github-list-packages

    Weekly Downloads

    8

    Version

    0.0.4

    License

    none

    Last publish

    Collaborators

    • rantav