node-url-to-github-obj

1.0.1 • Public • Published

Url to github object on Nodejs

A module for node.js and browsers that extracts useful properties like user, repo, and branch from various flavors of GitHub URLs.

Example usage

const github_url = 'https://github.com/example/business/blob/nachos'
const github_object = github_url_to_object(github_url)
console.log(github_object)

Readme

Keywords

Package Sidebar

Install

npm i node-url-to-github-obj

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.52 kB

Total Files

3

Last publish

Collaborators

  • btuyen2606