Socket
Socket
Sign inDemoInstall

github-url-to-object

Package Overview
Dependencies
1
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.4.0

test/index.js

2

index.js

@@ -5,2 +5,4 @@ var isUrl = require('is-url')

if (!url) return null
// bail if given a non-github URL

@@ -7,0 +9,0 @@ if (isUrl(url) && !url.match(/github\.com/)) return null

2

package.json
{
"name": "github-url-to-object",
"version": "0.3.0",
"version": "0.4.0",
"description": "Extract username and repo name from various flavors of GitHub URLs",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc