GT2/GT2-iOS/node_modules/proxy-agent/package.json

110 lines
6.7 KiB
JSON

{
"_args": [
[
{
"raw": "proxy-agent@2",
"scope": null,
"escapedName": "proxy-agent",
"name": "proxy-agent",
"rawSpec": "2",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/superagent-proxy"
]
],
"_from": "proxy-agent@>=2.0.0 <3.0.0",
"_id": "proxy-agent@2.2.0",
"_inCache": true,
"_location": "/proxy-agent",
"_nodeVersion": "9.4.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/proxy-agent-2.2.0.tgz_1516060456390_0.5609507695771754"
},
"_npmUser": {
"name": "tootallnate",
"email": "nathan@tootallnate.net"
},
"_npmVersion": "5.6.0",
"_phantomChildren": {},
"_requested": {
"raw": "proxy-agent@2",
"scope": null,
"escapedName": "proxy-agent",
"name": "proxy-agent",
"rawSpec": "2",
"spec": ">=2.0.0 <3.0.0",
"type": "range"
},
"_requiredBy": [
"/superagent-proxy"
],
"_resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-2.2.0.tgz",
"_shasum": "e853cd8400013562d23c8dc9e1deaf9b0b0a153a",
"_shrinkwrap": null,
"_spec": "proxy-agent@2",
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/superagent-proxy",
"author": {
"name": "Nathan Rajlich",
"email": "nathan@tootallnate.net",
"url": "http://n8.io/"
},
"bugs": {
"url": "https://github.com/TooTallNate/node-proxy-agent/issues"
},
"dependencies": {
"agent-base": "^4.2.0",
"debug": "^2.6.8",
"http-proxy-agent": "^1.0.0",
"https-proxy-agent": "^1.0.0",
"lru-cache": "^2.6.5",
"pac-proxy-agent": "^2.0.0",
"socks-proxy-agent": "^3.0.0"
},
"description": "Maps proxy protocols to `http.Agent` implementations",
"devDependencies": {
"mocha": "^3.4.2",
"proxy": "0.2.3",
"socksv5": "0.0.6",
"stream-to-buffer": "0.1.0"
},
"directories": {},
"dist": {
"integrity": "sha512-cmWjNB7/5pVrYAFAt+6ppLyUAWd4LhWw47hkUISXHAieM5jT2PWjhh1dbpHUEX3lJhWjAqdNGrW8RnUFfLCU9w==",
"shasum": "e853cd8400013562d23c8dc9e1deaf9b0b0a153a",
"tarball": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-2.2.0.tgz"
},
"gitHead": "c007ea11f1eec4b0f5c203f3935bbb2b4a750631",
"homepage": "https://github.com/TooTallNate/node-proxy-agent",
"keywords": [
"http",
"https",
"socks",
"agent",
"mapping",
"proxy",
"cache"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "tootallnate",
"email": "nathan@tootallnate.net"
}
],
"name": "proxy-agent",
"optionalDependencies": {},
"readme": "proxy-agent\n===========\n### Maps proxy protocols to `http.Agent` implementations\n[![Build Status](https://travis-ci.org/TooTallNate/node-proxy-agent.svg?branch=master)](https://travis-ci.org/TooTallNate/node-proxy-agent)\n\nThis module provides a function that returns proxying `http.Agent` instances to\nuse based off of a given proxy URI.\n\nAn LRU cache is used so that `http.Agent` instances are transparently re-used for\nsubsequent HTTP requests to the same proxy server.\n\nThe currently implemented protocol mappings are listed in the table below:\n\n\n| Protocol | Proxy Agent for `http` requests | Proxy Agent for `https` requests | Example\n|:----------:|:-------------------------------:|:--------------------------------:|:--------:\n| `http` | [http-proxy-agent][] | [https-proxy-agent][] | `http://proxy-server-over-tcp.com:3128`\n| `https` | [http-proxy-agent][] | [https-proxy-agent][] | `https://proxy-server-over-tls.com:3129`\n| `socks(v5)`| [socks-proxy-agent][] | [socks-proxy-agent][] | `socks://username:password@some-socks-proxy.com:9050` (username & password are optional)\n| `socks5` | [socks-proxy-agent][] | [socks-proxy-agent][] | `socks5://username:password@some-socks-proxy.com:9050` (username & password are optional)\n| `socks4` | [socks-proxy-agent][] | [socks-proxy-agent][] | `socks4://some-socks-proxy.com:9050`\n| `pac` | [pac-proxy-agent][] | [pac-proxy-agent][] | `pac+http://www.example.com/proxy.pac`\n\n\nInstallation\n------------\n\nInstall with `npm`:\n\n``` bash\n$ npm install proxy-agent\n```\n\n\nExample\n-------\n\n``` js\nvar http = require('http');\nvar ProxyAgent = require('proxy-agent');\n\n// HTTP, HTTPS, or SOCKS proxy to use\nvar proxyUri = process.env.http_proxy || 'http://168.63.43.102:3128';\n\nvar opts = {\n method: 'GET',\n host: 'jsonip.org',\n path: '/',\n // this is the important part!\n agent: new ProxyAgent(proxyUri)\n};\n\n// the rest works just like any other normal HTTP request\nhttp.get(opts, onresponse);\n\nfunction onresponse (res) {\n console.log(res.statusCode, res.headers);\n res.pipe(process.stdout);\n}\n```\n\n\nAPI\n---\n\n### new ProxyAgent(Object|String opts|uri)\n\nReturns an `http.Agent` instance based off of the given proxy `opts` or URI\nstring. An LRU cache is used, so the same `http.Agent` instance will be\nreturned if identical args are passed in.\n\n\nLicense\n-------\n\n(The MIT License)\n\nCopyright (c) 2013 Nathan Rajlich &lt;nathan@tootallnate.net&gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n[http-proxy-agent]: https://github.com/TooTallNate/node-http-proxy-agent\n[https-proxy-agent]: https://github.com/TooTallNate/node-https-proxy-agent\n[socks-proxy-agent]: https://github.com/TooTallNate/node-socks-proxy-agent\n[pac-proxy-agent]: https://github.com/TooTallNate/node-pac-proxy-agent\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/TooTallNate/node-proxy-agent.git"
},
"scripts": {
"test": "mocha --reporter spec"
},
"version": "2.2.0"
}