Gathering detailed insights and metrics for pac-proxy-agent-ex
Gathering detailed insights and metrics for pac-proxy-agent-ex
Gathering detailed insights and metrics for pac-proxy-agent-ex
Gathering detailed insights and metrics for pac-proxy-agent-ex
A PAC file proxy `http.Agent` implementation for HTTP and HTTPS
npm install pac-proxy-agent-ex
Typescript
Module System
Node Version
NPM Version
62
Supply Chain
88
Quality
71.8
Maintenance
25
Vulnerability
100
License
Total Downloads
9,743
Last Day
1
Last Week
5
Last Month
14
Last Year
108
58 Stars
120 Commits
60 Forks
4 Watchers
3 Branches
12 Contributors
Updated on Jan 03, 2025
Minified
Minified + Gzipped
Latest Version
3.0.1
Package Id
pac-proxy-agent-ex@3.0.1
Unpacked Size
25.34 kB
Size
8.03 kB
File Count
8
NPM Version
6.4.1
Node Version
10.13.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
400%
5
Compared to previous week
Last Month
-17.6%
14
Compared to previous month
Last Year
-71.3%
108
Compared to previous year
8
http.Agent
implementation for HTTP and HTTPSThis module provides an http.Agent
implementation that retreives the specified
PAC proxy file and uses it to resolve which HTTP, HTTPS, or
SOCKS proxy, or if a direct connection should be used to connect to the
HTTP endpoint.
It is designed to be be used with the built-in http
and https
modules.
Install with npm
:
1$ npm install pac-proxy-agent
1var url = require('url'); 2var http = require('http'); 3var PacProxyAgent = require('pac-proxy-agent'); 4 5// URI to a PAC proxy file to use (the "pac+" prefix is stripped) 6var proxy = 'pac+https://cloudup.com/ceGH2yZ0Bjp+'; 7console.log('using PAC proxy proxy file at %j', proxy); 8 9// HTTP endpoint for the proxy to connect to 10var endpoint = 'http://nodejs.org/api/'; 11console.log('attempting to GET %j', endpoint); 12var opts = url.parse(endpoint); 13 14// create an instance of the `PacProxyAgent` class with the PAC file location 15var agent = new PacProxyAgent(proxy); 16opts.agent = agent; 17 18http.get(opts, function (res) { 19 console.log('"response" event!', res.headers); 20 res.pipe(process.stdout); 21});
(The MIT License)
Copyright (c) 2014 Nathan Rajlich <nathan@tootallnate.net>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
Found 3/30 approved changesets -- score normalized to 1
Reason
project is archived
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More