github-url-to-object
Advanced tools
Comparing version 4.0.4 to 4.0.5
{ | ||
"name": "github-url-to-object", | ||
"version": "4.0.4", | ||
"version": "4.0.5", | ||
"description": "Extract user, repo, and other interesting properties from GitHub URLs", | ||
@@ -5,0 +5,0 @@ "main": "dist/commonjs.js", |
@@ -15,3 +15,3 @@ # github-url-to-object [![Build Status](https://travis-ci.org/zeke/github-url-to-object.png?branch=master)](https://travis-ci.org/zeke/github-url-to-object) | ||
```sh | ||
npm install github-url-to-object --save | ||
npm i github-url-to-object | ||
``` | ||
@@ -30,3 +30,3 @@ | ||
```js | ||
var gh = require('github-url-to-object') | ||
const gh = require('github-url-to-object') | ||
@@ -62,3 +62,6 @@ gh('github:monkey/business') | ||
```js | ||
gh('github:monkey/business#nachos') | ||
gh('github:monkey/business#nachos') | ||
``` | ||
```js | ||
{ | ||
@@ -85,3 +88,3 @@ user: 'monkey', | ||
```js | ||
gh('https://ghe.example.com:heroku/heroku-flags.git', {enterprise: true}) | ||
gh('https://ghe.example.com:heroku/heroku-flags.git', { enterprise: true }) | ||
``` | ||
@@ -88,0 +91,0 @@ |
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
100