106 lines
4.2 KiB
JSON
106 lines
4.2 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "url-parse-lax@^1.0.0",
|
|
"scope": null,
|
|
"escapedName": "url-parse-lax",
|
|
"name": "url-parse-lax",
|
|
"rawSpec": "^1.0.0",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/got"
|
|
]
|
|
],
|
|
"_from": "url-parse-lax@>=1.0.0 <2.0.0",
|
|
"_id": "url-parse-lax@1.0.0",
|
|
"_inCache": true,
|
|
"_location": "/url-parse-lax",
|
|
"_nodeVersion": "0.12.5",
|
|
"_npmUser": {
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
},
|
|
"_npmVersion": "2.11.2",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "url-parse-lax@^1.0.0",
|
|
"scope": null,
|
|
"escapedName": "url-parse-lax",
|
|
"name": "url-parse-lax",
|
|
"rawSpec": "^1.0.0",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/got"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz",
|
|
"_shasum": "7af8f303645e9bd79a272e7a14ac68bc0609da73",
|
|
"_shrinkwrap": null,
|
|
"_spec": "url-parse-lax@^1.0.0",
|
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/got",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "sindresorhus.com"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/sindresorhus/url-parse-lax/issues"
|
|
},
|
|
"dependencies": {
|
|
"prepend-http": "^1.0.1"
|
|
},
|
|
"description": "url.parse() with support for protocol-less URLs & IPs",
|
|
"devDependencies": {
|
|
"ava": "0.0.4"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "7af8f303645e9bd79a272e7a14ac68bc0609da73",
|
|
"tarball": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.10.0"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
],
|
|
"gitHead": "1c2c7473ee75bb84a92c8aca532a6e615e531380",
|
|
"homepage": "https://github.com/sindresorhus/url-parse-lax#readme",
|
|
"keywords": [
|
|
"url",
|
|
"uri",
|
|
"parse",
|
|
"parser",
|
|
"loose",
|
|
"lax",
|
|
"protocol",
|
|
"less",
|
|
"protocol-less",
|
|
"ip",
|
|
"ipv4",
|
|
"ipv6"
|
|
],
|
|
"license": "MIT",
|
|
"maintainers": [
|
|
{
|
|
"name": "sindresorhus",
|
|
"email": "sindresorhus@gmail.com"
|
|
}
|
|
],
|
|
"name": "url-parse-lax",
|
|
"optionalDependencies": {},
|
|
"readme": "# url-parse-lax [![Build Status](https://travis-ci.org/sindresorhus/url-parse-lax.svg?branch=master)](https://travis-ci.org/sindresorhus/url-parse-lax)\n\n> [`url.parse()`](https://nodejs.org/docs/latest/api/url.html#url_url_parse_urlstr_parsequerystring_slashesdenotehost) with support for protocol-less URLs & IPs\n\n\n## Install\n\n```\n$ npm install --save url-parse-lax\n```\n\n\n## Usage\n\n```js\nvar urlParseLax = require('url-parse-lax');\n\nurlParseLax('sindresorhus.com');\n/*\n{\n\tprotocol: null,\n\tslashes: true,\n\tauth: null,\n\thost: 'sindresorhus.com',\n\tport: null,\n\thostname: 'sindresorhus.com',\n\thash: null,\n\tsearch: null,\n\tquery: null,\n\tpathname: '/',\n\tpath: '/',\n\thref: 'http://sindresorhus.com/'\n}\n*/\n\nurlParseLax('[2001:db8::]:8000');\n/*\n{\n\tprotocol: null,\n\tslashes: true,\n\tauth: null,\n\thost: '[2001:db8::]:8000',\n\tport: '8000',\n\thostname: '2001:db8::',\n\thash: null,\n\tsearch: null,\n\tquery: null,\n\tpathname: '/',\n\tpath: '/',\n\thref: 'http://[2001:db8::]:8000/'\n}\n*/\n```\n\nAnd with the built-in `url.parse()`:\n\n```js\nvar url = require('url');\n\nurl.parse('sindresorhus.com');\n/*\n{\n\tprotocol: null,\n\tslashes: null,\n\tauth: null,\n\thost: null,\n\tport: null,\n\thostname: null,\n\thash: null,\n\tsearch: null,\n\tquery: null,\n\tpathname: 'sindresorhus',\n\tpath: 'sindresorhus',\n\thref: 'sindresorhus'\n}\n*/\n\nurl.parse('[2001:db8::]:8000');\n/*\n{\n\tprotocol: null,\n\tslashes: null,\n\tauth: null,\n\thost: null,\n\tport: null,\n\thostname: null,\n\thash: null,\n\tsearch: null,\n\tquery: null,\n\tpathname: '[2001:db8::]:8000',\n\tpath: '[2001:db8::]:8000',\n\thref: '[2001:db8::]:8000'\n}\n*/\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
|
|
"readmeFilename": "readme.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/sindresorhus/url-parse-lax.git"
|
|
},
|
|
"scripts": {
|
|
"test": "node test.js"
|
|
},
|
|
"version": "1.0.0"
|
|
}
|