Skip to content
A node modules that lists packages used by github projects
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
.gitignore
.npmignore
LICENSE
README.md
package.json

README.md

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...
You can’t perform that action at this time.