github-url-from-npm

Get GitHub URL from npm module name.

Usage no npm install needed!

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

README

github-url-from-npm

Get GitHub URL from npm module name.

var githubUrlFromNpm = require('github-url-from-npm');
githubUrlFromNpm('mocha', function(err, url) {
  assert(url === 'https://github.com/mochajs/mocha');
});

Install

$ npm install github-url-from-npm

LICENSE

MIT