$ npm install package-repo-url
Returns GitHub repository URL based on package.json
.
npm install package-repo-url
const packageRepoUrl = require('package-repo-url');
console.log(packageRepoUrl());
// -> https://github.com/sapegin/package-repo-url
console.log(packageRepoUrl(require('./somewhere/package.json')));
// -> https://github.com/shomeorg/somepackage
The changelog can be found on the Releases page.
Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.
Artem Sapegin and contributors.
MIT License, see the included License.md file.
© 2010 - cnpmjs.org x YWFE | Home | YWFE