@zkochan/pnpm
Version:
Fast, disk space efficient package manager
106 lines (105 loc) • 3.54 kB
JSON
{
"_args": [
[
{
"raw": "prepend-http@^2.0.0",
"scope": null,
"escapedName": "prepend-http",
"name": "prepend-http",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"/home/zkochan/src/pnpm/packages/pnpm/node_modules/normalize-url"
]
],
"_from": "prepend-http@>=2.0.0 <3.0.0",
"_id": "prepend-http@2.0.0",
"_inCache": true,
"_location": "/prepend-http",
"_nodeVersion": "4.8.3",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/prepend-http-2.0.0.tgz_1506153538053_0.7665849386248738"
},
"_npmUser": {
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
},
"_npmVersion": "2.15.11",
"_phantomChildren": {},
"_requested": {
"raw": "prepend-http@^2.0.0",
"scope": null,
"escapedName": "prepend-http",
"name": "prepend-http",
"rawSpec": "^2.0.0",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/normalize-url",
"/url-parse-lax"
],
"_resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz",
"_shasum": "e92434bfa5ea8c19f41cdfd401d741a3c819d897",
"_shrinkwrap": null,
"_spec": "prepend-http@^2.0.0",
"_where": "/home/zkochan/src/pnpm/packages/pnpm/node_modules/normalize-url",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/prepend-http/issues"
},
"dependencies": {},
"description": "Prepend `http://` to humanized URLs like todomvc.com and localhost",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"directories": {},
"dist": {
"shasum": "e92434bfa5ea8c19f41cdfd401d741a3c819d897",
"tarball": "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"gitHead": "040579fb1271df6232dd96a7600c9efb1510eb47",
"homepage": "https://github.com/sindresorhus/prepend-http#readme",
"keywords": [
"prepend",
"protocol",
"scheme",
"url",
"uri",
"http",
"https",
"humanized"
],
"license": "MIT",
"maintainers": [
{
"name": "sindresorhus",
"email": "sindresorhus@gmail.com"
}
],
"name": "prepend-http",
"optionalDependencies": {},
"readme": "# prepend-http [](https://travis-ci.org/sindresorhus/prepend-http)\n\n> Prepend `http://` to humanized URLs like `todomvc.com` and `localhost`\n\n\n## Install\n\n```\n$ npm install prepend-http\n```\n\n\n## Usage\n\n```js\nconst prependHttp = require('prepend-http');\n\nprependHttp('todomvc.com');\n//=> 'http://todomvc.com'\n\nprependHttp('localhost');\n//=> 'http://localhost'\n\nprependHttp('http://todomvc.com');\n//=> 'http://todomvc.com'\n\nprependHttp('todomvc.com', {https: true});\n//=> 'https://todomvc.com'\n```\n\n\n## API\n\n### prependHttp(url, [options])\n\n#### url\n\nType: `string`\n\nURL to prepend `http://` on.\n\n#### options\n\nType: `Object`\n\n##### https\n\nType: `boolean`<br>\nDefault: `false`\n\nPrepend `https://` instead of `http://`.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/prepend-http.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "2.0.0"
}