package-repo-url

Returns GitHub repository URL based on package.json

MIT 5 个版本
安装
npm install package-repo-url
yarn add package-repo-url
pnpm add package-repo-url
bun add package-repo-url
README

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.

版本列表
1.0.4 2021-07-21
1.0.3 2020-10-28
1.0.2 2020-10-27
1.0.1 2020-10-27
1.0.0 2020-10-27