Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitresolve

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitresolve

Resolve shorthand repository names (github, bitbucket) into their full URLs

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

gitresolve Build Status

Resolve shorthand repository names (github, bitbucket) into their full URLs

Install

$ npm install --save gitresolve

Usage

var gitresolve = require('gitresolve');

gitresolve('jmversteeg/gitresolve').then(console.log);

//=> [ { 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

Keywords

FAQs

Package last updated on 14 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc