99 lines
5.0 KiB
JSON
99 lines
5.0 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "http-proxy-agent@^1.0.0",
|
|
"scope": null,
|
|
"escapedName": "http-proxy-agent",
|
|
"name": "http-proxy-agent",
|
|
"rawSpec": "^1.0.0",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/proxy-agent"
|
|
]
|
|
],
|
|
"_from": "http-proxy-agent@>=1.0.0 <2.0.0",
|
|
"_id": "http-proxy-agent@1.0.0",
|
|
"_inCache": true,
|
|
"_location": "/http-proxy-agent",
|
|
"_nodeVersion": "0.12.6",
|
|
"_npmUser": {
|
|
"name": "tootallnate",
|
|
"email": "nathan@tootallnate.net"
|
|
},
|
|
"_npmVersion": "2.11.2",
|
|
"_phantomChildren": {
|
|
"extend": "3.0.1"
|
|
},
|
|
"_requested": {
|
|
"raw": "http-proxy-agent@^1.0.0",
|
|
"scope": null,
|
|
"escapedName": "http-proxy-agent",
|
|
"name": "http-proxy-agent",
|
|
"rawSpec": "^1.0.0",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/pac-proxy-agent",
|
|
"/proxy-agent"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-1.0.0.tgz",
|
|
"_shasum": "cc1ce38e453bf984a0f7702d2dd59c73d081284a",
|
|
"_shrinkwrap": null,
|
|
"_spec": "http-proxy-agent@^1.0.0",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/proxy-agent",
|
|
"author": {
|
|
"name": "Nathan Rajlich",
|
|
"email": "nathan@tootallnate.net",
|
|
"url": "http://n8.io/"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/TooTallNate/node-http-proxy-agent/issues"
|
|
},
|
|
"dependencies": {
|
|
"agent-base": "2",
|
|
"debug": "2",
|
|
"extend": "3"
|
|
},
|
|
"description": "An HTTP(s) proxy `http.Agent` implementation for HTTP",
|
|
"devDependencies": {
|
|
"mocha": "2",
|
|
"proxy": "~0.2.3"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"shasum": "cc1ce38e453bf984a0f7702d2dd59c73d081284a",
|
|
"tarball": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-1.0.0.tgz"
|
|
},
|
|
"gitHead": "c2a1e575ebf7226251b55194855e739ef319a1cb",
|
|
"homepage": "https://github.com/TooTallNate/node-http-proxy-agent#readme",
|
|
"keywords": [
|
|
"http",
|
|
"proxy",
|
|
"endpoint",
|
|
"agent"
|
|
],
|
|
"license": "MIT",
|
|
"main": "http-proxy-agent.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "tootallnate",
|
|
"email": "nathan@tootallnate.net"
|
|
}
|
|
],
|
|
"name": "http-proxy-agent",
|
|
"optionalDependencies": {},
|
|
"readme": "http-proxy-agent\n================\n### An HTTP(s) proxy `http.Agent` implementation for HTTP\n[![Build Status](https://travis-ci.org/TooTallNate/node-http-proxy-agent.svg?branch=master)](https://travis-ci.org/TooTallNate/node-http-proxy-agent)\n\nThis module provides an `http.Agent` implementation that connects to a specified\nHTTP or HTTPS proxy server, and can be used with the built-in `http` module.\n\n__Note:__ For HTTP proxy usage with the `https` module, check out\n[`node-https-proxy-agent`](https://github.com/TooTallNate/node-https-proxy-agent).\n\nInstallation\n------------\n\nInstall with `npm`:\n\n``` bash\n$ npm install http-proxy-agent\n```\n\n\nExample\n-------\n\n``` js\nvar url = require('url');\nvar http = require('http');\nvar HttpProxyAgent = require('http-proxy-agent');\n\n// HTTP/HTTPS proxy to connect to\nvar proxy = process.env.http_proxy || 'http://168.63.76.32:3128';\nconsole.log('using proxy server %j', proxy);\n\n// HTTP endpoint for the proxy to connect to\nvar endpoint = process.argv[2] || 'http://nodejs.org/api/';\nconsole.log('attempting to GET %j', endpoint);\nvar opts = url.parse(endpoint);\n\n// create an instance of the `HttpProxyAgent` class with the proxy server information\nvar agent = new HttpProxyAgent(proxy);\nopts.agent = agent;\n\nhttp.get(opts, function (res) {\n console.log('\"response\" event!', res.headers);\n res.pipe(process.stdout);\n});\n```\n\n\nLicense\n-------\n\n(The MIT License)\n\nCopyright (c) 2013 Nathan Rajlich <nathan@tootallnate.net>\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",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/TooTallNate/node-http-proxy-agent.git"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha --reporter spec"
|
|
},
|
|
"version": "1.0.0"
|
|
}
|