UNPKG

@zkochan/pnpm

Version:

Fast, disk space efficient package manager

100 lines (99 loc) 3.41 kB
{ "_args": [ [ { "raw": "url-to-options@^1.0.1", "scope": null, "escapedName": "url-to-options", "name": "url-to-options", "rawSpec": "^1.0.1", "spec": ">=1.0.1 <2.0.0", "type": "range" }, "/home/zkochan/src/pnpm/packages/pnpm/node_modules/got" ] ], "_from": "url-to-options@>=1.0.1 <2.0.0", "_id": "url-to-options@1.0.1", "_inCache": true, "_location": "/url-to-options", "_nodeVersion": "6.10.1", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/url-to-options-1.0.1.tgz_1496714214657_0.7010721093975008" }, "_npmUser": { "name": "stevenvachon", "email": "contact@svachon.com" }, "_npmVersion": "3.10.10", "_phantomChildren": {}, "_requested": { "raw": "url-to-options@^1.0.1", "scope": null, "escapedName": "url-to-options", "name": "url-to-options", "rawSpec": "^1.0.1", "spec": ">=1.0.1 <2.0.0", "type": "range" }, "_requiredBy": [ "/got" ], "_resolved": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz", "_shasum": "1505a03a289a48cbd7a434efbaeec5055f5633a9", "_shrinkwrap": null, "_spec": "url-to-options@^1.0.1", "_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/url-to-options/issues" }, "dependencies": {}, "description": "Convert a WHATWG URL to an http(s).request options object.", "devDependencies": { "universal-url": "^1.0.0-alpha" }, "directories": {}, "dist": { "shasum": "1505a03a289a48cbd7a434efbaeec5055f5633a9", "tarball": "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz" }, "engines": { "node": ">= 4" }, "files": [ "index.js" ], "gitHead": "dc294233e91061e18ffc62eeea17ac61edc3f2a6", "homepage": "https://github.com/stevenvachon/url-to-options#readme", "keywords": [ "http", "https", "url", "whatwg" ], "license": "MIT", "maintainers": [ { "name": "stevenvachon", "email": "contact@svachon.com" } ], "name": "url-to-options", "optionalDependencies": {}, "readme": "# url-to-options [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]\n\nConvert a WHATWG [URL](https://developer.mozilla.org/en/docs/Web/API/URL) to an `http.request`/`https.request` options object.\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 url-to-options\n```\n\n\n## Usage\n\n```js\nconst urlToOptions = require('url-to-options');\n\nconst url = new URL('http://user:pass@hostname:8080/');\n\nconst opts = urlToOptions(url);\n//-> { auth:'user:pass', port:8080, … }\n```\n\n\n[npm-image]: https://img.shields.io/npm/v/url-to-options.svg\n[npm-url]: https://npmjs.org/package/url-to-options\n[travis-image]: https://img.shields.io/travis/stevenvachon/url-to-options.svg\n[travis-url]: https://travis-ci.org/stevenvachon/url-to-options\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/stevenvachon/url-to-options.git" }, "scripts": { "test": "node test.js" }, "version": "1.0.1" }