gepo
v1.0.0
Published
Normalize a git repository for opening in a browser
Downloads
357
Readme
gepo
Get a browser-compatible url from a git remote url
Install
$ npm install gepo
Usage
var repo = require('gepo')
var input = '[email protected]:evanlucas/gepo.git'
var out = repo(input)
// => 'https://github.com/evanlucas/gepo'
Global Install
$ npm install gepo
$ gepo [email protected]:evanlucas/gepo.git
# => 'https://github.com/evanlucas/gepo'
Test
$ npm test
Coverage
$ npm run cover
License
MIT (See LICENSE
for more info)
Author
Evan Lucas