Gathering detailed insights and metrics for superagent-proxy
Gathering detailed insights and metrics for superagent-proxy
Gathering detailed insights and metrics for superagent-proxy
Gathering detailed insights and metrics for superagent-proxy
npm install superagent-proxy
Typescript
Module System
Min. Node Version
Node Version
NPM Version
92
Supply Chain
86.3
Quality
73.1
Maintenance
25
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
192,910,438
Last Day
60,474
Last Week
263,347
Last Month
1,235,771
Last Year
23,662,176
153 Stars
67 Commits
46 Forks
6 Watching
4 Branches
9 Contributors
Minified
Minified + Gzipped
Latest Version
3.0.0
Package Id
superagent-proxy@3.0.0
Size
4.20 kB
NPM Version
7.20.3
Node Version
14.17.4
Publised On
03 Sept 2021
Cumulative downloads
Total Downloads
Last day
-7.3%
60,474
Compared to previous day
Last week
-18.4%
263,347
Compared to previous week
Last month
-2.2%
1,235,771
Compared to previous month
Last year
-44.7%
23,662,176
Compared to previous year
Request#proxy(uri)
superagent extensionThis module extends superagent
's Request
class with
a .proxy(uri)
function. This allows you to proxy the HTTP request through a
proxy of some kind.
It is backed by the proxy-agent
module, so see
its README for more details.
Install with npm
:
1$ npm install superagent-proxy
1var request = require('superagent'); 2 3// extend with Request#proxy() 4require('superagent-proxy')(request); 5 6// HTTP, HTTPS, or SOCKS proxy to use 7var proxy = process.env.http_proxy || 'http://168.63.43.102:3128'; 8 9request 10 .get(process.argv[2] || 'https://encrypted.google.com/') 11 .proxy(proxy) 12 .end(onresponse); 13 14function onresponse (err, res) { 15 if (err) { 16 console.log(err); 17 } else { 18 console.log(res.status, res.headers); 19 console.log(res.body); 20 } 21}
(The MIT License)
Copyright (c) 2013 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 dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
Found 8/29 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
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
Reason
26 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
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@types/superagent-proxy
TypeScript definitions for superagent-proxy
superagent-cors-proxy
superagent extension to perform CORS requests via an iframe proxy
ot-superagent-proxy
`Request#proxy(uri)` superagent extension
superagent-proxy-iee
A modified version of superagent-proxy with additional fixes.