package-repo-url
Returns GitHub repository URL based on package.json
Last updated 3 years ago by sapegin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install package-repo-url 
SYNC missed versions from official npm registry.

package-repo-url

Returns GitHub repository URL based on package.json.

Installation

npm install package-repo-url

Usage

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

Changelog

The changelog can be found on the Releases page.

Contributing

Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Authors and license

Artem Sapegin and contributors.

MIT License, see the included License.md file.

Current Tags

  • 1.0.4                                ...           latest (3 years ago)

5 Versions

  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (6)

© 2010 - cnpmjs.org x YWFE | Home | YWFE