@zkochan/pnpm
Version:
Fast, disk space efficient package manager
106 lines (105 loc) • 3.72 kB
JSON
{
"_args": [
[
{
"raw": "isurl@^1.0.0-alpha5",
"scope": null,
"escapedName": "isurl",
"name": "isurl",
"rawSpec": "^1.0.0-alpha5",
"spec": ">=1.0.0-alpha5 <2.0.0",
"type": "range"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/got"
]
],
"_from": "isurl@>=1.0.0-alpha5 <2.0.0",
"_id": "isurl@1.0.0",
"_inCache": true,
"_location": "/isurl",
"_nodeVersion": "8.1.2",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/isurl-1.0.0.tgz_1498762271555_0.6982713537290692"
},
"_npmUser": {
"name": "stevenvachon",
"email": "contact@svachon.com"
},
"_npmVersion": "5.0.4",
"_phantomChildren": {},
"_requested": {
"raw": "isurl@^1.0.0-alpha5",
"scope": null,
"escapedName": "isurl",
"name": "isurl",
"rawSpec": "^1.0.0-alpha5",
"spec": ">=1.0.0-alpha5 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/got"
],
"_resolved": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz",
"_shasum": "b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67",
"_shrinkwrap": null,
"_spec": "isurl@^1.0.0-alpha5",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/got",
"author": {
"name": "Steven Vachon",
"email": "contact@svachon.com",
"url": "https://www.svachon.com/"
},
"bugs": {
"url": "https://github.com/stevenvachon/isurl/issues"
},
"dependencies": {
"has-to-string-tag-x": "^1.2.0",
"is-object": "^1.0.1"
},
"description": "Checks whether a value is a WHATWG URL.",
"devDependencies": {
"chai": "^4.0.2",
"mocha": "^3.4.2",
"semver": "^5.3.0",
"universal-url": "^1.0.0"
},
"directories": {},
"dist": {
"integrity": "sha512-1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==",
"shasum": "b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67",
"tarball": "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz"
},
"engines": {
"node": ">= 4"
},
"files": [
"index.js"
],
"gitHead": "36b0a629ed1e84b061b02d815aa11dfa3c4bfcff",
"homepage": "https://github.com/stevenvachon/isurl#readme",
"keywords": [
"uri",
"url",
"whatwg"
],
"license": "MIT",
"maintainers": [
{
"name": "stevenvachon",
"email": "contact@svachon.com"
}
],
"name": "isurl",
"optionalDependencies": {},
"readme": "# isurl [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]\n\n> Checks whether a value is a WHATWG [`URL`](https://developer.mozilla.org/en/docs/Web/API/URL).\n\n\nWorks cross-realm/iframe and despite @@toStringTag.\n\n\n## Installation\n\n[Node.js](http://nodejs.org/) `>= 4` is required. To install, type this at the command line:\n```shell\nnpm install isurl\n```\n\n\n## Usage\n\n```js\nconst isURL = require('isurl');\n\nisURL('http://domain/'); //-> false\nisURL(new URL('http://domain/')); //-> true\n```\n\nOptionally, acceptance can be extended to incomplete `URL` implementations that lack `searchParams` (which are common in many modern web browsers):\n```js\nconst url = new URL('http://domain/?query');\n\nconsole.log(url.searchParams); //-> undefined\n\nisURL.lenient(url); //-> true\n```\n\n\n[npm-image]: https://img.shields.io/npm/v/isurl.svg\n[npm-url]: https://npmjs.org/package/isurl\n[travis-image]: https://img.shields.io/travis/stevenvachon/isurl.svg\n[travis-url]: https://travis-ci.org/stevenvachon/isurl\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/stevenvachon/isurl.git"
},
"scripts": {
"test": "mocha test --check-leaks --bail"
},
"version": "1.0.0"
}