113 lines
5.5 KiB
JSON
113 lines
5.5 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "pac-proxy-agent@^2.0.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "pac-proxy-agent",
|
||
|
"name": "pac-proxy-agent",
|
||
|
"rawSpec": "^2.0.0",
|
||
|
"spec": ">=2.0.0 <3.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/proxy-agent"
|
||
|
]
|
||
|
],
|
||
|
"_from": "pac-proxy-agent@>=2.0.0 <3.0.0",
|
||
|
"_id": "pac-proxy-agent@2.0.0",
|
||
|
"_inCache": true,
|
||
|
"_location": "/pac-proxy-agent",
|
||
|
"_nodeVersion": "8.0.0",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "s3://npm-registry-packages",
|
||
|
"tmp": "tmp/pac-proxy-agent-2.0.0.tgz_1497386330878_0.12291873176582158"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "tootallnate",
|
||
|
"email": "nathan@tootallnate.net"
|
||
|
},
|
||
|
"_npmVersion": "5.0.0",
|
||
|
"_phantomChildren": {
|
||
|
"extend": "3.0.1"
|
||
|
},
|
||
|
"_requested": {
|
||
|
"raw": "pac-proxy-agent@^2.0.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "pac-proxy-agent",
|
||
|
"name": "pac-proxy-agent",
|
||
|
"rawSpec": "^2.0.0",
|
||
|
"spec": ">=2.0.0 <3.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/proxy-agent"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-2.0.0.tgz",
|
||
|
"_shasum": "beb17cd2b06a20b379d57e1b2e2c29be0dfe5f9a",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "pac-proxy-agent@^2.0.0",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/proxy-agent",
|
||
|
"author": {
|
||
|
"name": "Nathan Rajlich",
|
||
|
"email": "nathan@tootallnate.net",
|
||
|
"url": "http://n8.io/"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/TooTallNate/node-pac-proxy-agent/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"agent-base": "^2.1.1",
|
||
|
"debug": "^2.6.8",
|
||
|
"get-uri": "^2.0.0",
|
||
|
"http-proxy-agent": "^1.0.0",
|
||
|
"https-proxy-agent": "^1.0.0",
|
||
|
"pac-resolver": "^3.0.0",
|
||
|
"raw-body": "^2.2.0",
|
||
|
"socks-proxy-agent": "^3.0.0"
|
||
|
},
|
||
|
"description": "A PAC file proxy `http.Agent` implementation for HTTP",
|
||
|
"devDependencies": {
|
||
|
"mocha": "^3.4.2",
|
||
|
"proxy": "0.2.3",
|
||
|
"socksv5": "0.0.6"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"integrity": "sha512-t57UiJpi5mFLTvjheC1SNSwIhml3+ElNOj69iRrydtQXZJr8VIFYSDtyPi/3ZysA62kD2dmww6pDlzk0VaONZg==",
|
||
|
"shasum": "beb17cd2b06a20b379d57e1b2e2c29be0dfe5f9a",
|
||
|
"tarball": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-2.0.0.tgz"
|
||
|
},
|
||
|
"gitHead": "e677df6559120a9e3cef7a20ef71ccdf1b425536",
|
||
|
"homepage": "https://github.com/TooTallNate/node-pac-proxy-agent",
|
||
|
"keywords": [
|
||
|
"pac",
|
||
|
"proxy",
|
||
|
"agent",
|
||
|
"http",
|
||
|
"https",
|
||
|
"socks",
|
||
|
"request",
|
||
|
"access"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "index.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "tootallnate",
|
||
|
"email": "nathan@tootallnate.net"
|
||
|
}
|
||
|
],
|
||
|
"name": "pac-proxy-agent",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "pac-proxy-agent\n===============\n### A [PAC file][pac-wikipedia] proxy `http.Agent` implementation for HTTP and HTTPS\n[![Build Status](https://travis-ci.org/TooTallNate/node-pac-proxy-agent.svg?branch=master)](https://travis-ci.org/TooTallNate/node-pac-proxy-agent)\n\nThis module provides an `http.Agent` implementation that retreives the specified\n[PAC proxy file][pac-wikipedia] and uses it to resolve which HTTP, HTTPS, or\nSOCKS proxy, or if a direct connection should be used to connect to the\nHTTP endpoint.\n\nIt is designed to be be used with the built-in `http` and `https` modules.\n\n\nInstallation\n------------\n\nInstall with `npm`:\n\n``` bash\n$ npm install pac-proxy-agent\n```\n\n\nExample\n-------\n\n``` js\nvar url = require('url');\nvar http = require('http');\nvar PacProxyAgent = require('pac-proxy-agent');\n\n// URI to a PAC proxy file to use (the \"pac+\" prefix is stripped)\nvar proxy = 'pac+https://cloudup.com/ceGH2yZ0Bjp+';\nconsole.log('using PAC proxy proxy file at %j', proxy);\n\n// HTTP endpoint for the proxy to connect to\nvar endpoint = 'http://nodejs.org/api/';\nconsole.log('attempting to GET %j', endpoint);\nvar opts = url.parse(endpoint);\n\n// create an instance of the `PacProxyAgent` class with the PAC file location\nvar agent = new PacProxyAgent(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) 2014 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\n[pac-wikipedia]: http://wikipedia.org/wiki/Proxy_auto-config\n",
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/TooTallNate/node-pac-proxy-agent.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "mocha --reporter spec"
|
||
|
},
|
||
|
"version": "2.0.0"
|
||
|
}
|