https://github.com/rantav/node-github-list-packages
A node modules that lists packages used by github projects
https://github.com/rantav/node-github-list-packages
Last synced: about 1 month ago
JSON representation
A node modules that lists packages used by github projects
- Host: GitHub
- URL: https://github.com/rantav/node-github-list-packages
- Owner: rantav
- License: mit
- Created: 2013-12-04T06:28:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-11T08:57:29.000Z (over 11 years ago)
- Last Synced: 2025-04-17T18:25:13.583Z (about 2 months ago)
- Language: CoffeeScript
- Size: 104 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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...