github-url-to-object
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -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 |
{ | ||
"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", |
3359
64