github-url-resolver

Resolves GitHub URLs to markdown links

benogle

912

4

0.1.1

MIT

GitHub

github-url-resolver package

Resolves a github URL to a markdown link.

url-resolve

Parses the following formats:

username/repo#234
github.com/username/repo/pull/234
github.com/username/repo/issues/234
https://github.com/username/repo/pull/234
https://github.com/username/repo/issues/234

Private repo access

Creating an access token (read only!) and setting it in the GITHUB_ACCESS_TOKEN environment variable will allow this to work on private github repos.