gitresolve
Resolve shorthand repository names (github, bitbucket) into their full URLs
Install
$ npm install --save gitresolve
Usage
var gitresolve = ; ; //=> [ { service: 'GitHub',// url: 'https://github.com/jmversteeg/gitresolve.git',// name: 'gitresolve' } ]
API
gitresolve(shorthand, [servicesMask])
shorthand
Type: string
Shorthand repository name.
Example: jmversteeg/gitresolve
servicesMask
Type: string[]
Array of resolvers to use (by function name). If not provided, all resolvers will be tried. See lib/services for the available services.
Example: ['github', 'bitbucket']
License
MIT © JM Versteeg