README
github-deps
Information
Package | github-deps |
Description | Get and check npm dependencies from github URLs |
Node Version | >= 0.10 |
Install
npm install github-deps
Example
var gdeps = require('github-deps');
var url = 'https://github.com/stevelacy/github-deps/blob/master/test/fixtures/pkg.json'
gdeps(url, {}, function(err, data){
// => { name: 'project', deps: { mocha: { update: '2.0.1', current: '^1.1.0' } } }
});
API
githubDeps(<String> <Array>, {<options>}, function(err, data){
});
All options are passed to rawgithub