git-urls
Get online URL of file(Github, GitLab, Bitbucket...)
Last updated 3 months ago by qinezh .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install git-urls 
SYNC missed versions from official npm registry.

npm AppVeyor

git-urls

Get online link of file with git remote URL(support Github, GitLab, Bitbucket, VSTS, DevOps)

Install

npm install git-urls

Usage example

import GitUrls from "git-urls";

const f = async () => {
    return await GitUrls.getUrlsAsync(__filename);
};

f().then(linkMap => {
    for (const [remoteName, link] of linkMap) {
        console.log(`${remoteName}: ${link}`);
    }
});

Current Tags

  • 0.3.0                                ...           latest (3 months ago)

13 Versions

  • 0.3.0                                ...           3 months ago
  • 0.2.6                                ...           10 months ago
  • 0.2.5                                ...           a year ago
  • 0.2.4                                ...           a year ago
  • 0.2.3                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.4                                ...           2 years ago
  • 0.1.3                                ...           2 years ago
  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (1)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |