hosted-git-info
Advanced tools
Comparing version 1.5.1 to 1.5.2
{ | ||
"name": "hosted-git-info", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,3 +11,3 @@ # hosted-git-info | ||
var hostedGitInfo = require("hosted-git-info") | ||
var info = hostedGitInfo("git@github.com:npm/hosted-git-info.git") | ||
var info = hostedGitInfo.fromUrl("git@github.com:npm/hosted-git-info.git") | ||
/* info looks like: | ||
@@ -44,3 +44,3 @@ { | ||
For example `hostedGitInfo("git@github.com:npm/hosted-git-info.git#v1.0.0").file("package.json")` | ||
For example `hostedGitInfo.fromUrl("git@github.com:npm/hosted-git-info.git#v1.0.0").file("package.json")` | ||
would return `https://raw.githubusercontent.com/npm/hosted-git-info/v1.0.0/package.json` | ||
@@ -47,0 +47,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19859