github-deps

Get and check npm dependencies from github URLs

Usage no npm install needed!

<script type="module">
  import githubDeps from 'https://cdn.skypack.dev/github-deps';
</script>

README

github-deps

NPM version Build Status

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

License MIT