Skip to content

jondot/node-github-list-packages

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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...

About

A node modules that lists packages used by github projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 96.5%
  • JavaScript 3.5%