Gathering detailed insights and metrics for proxy-pumpify
Gathering detailed insights and metrics for proxy-pumpify
npm install proxy-pumpify
Typescript
Module System
Node Version
NPM Version
66.2
Supply Chain
75.8
Quality
72
Maintenance
25
Vulnerability
100
License
JavaScript (100%)
Total Downloads
1,239
Last Day
1
Last Week
3
Last Month
9
Last Year
52
2 Stars
6 Commits
1 Forks
3 Watching
2 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.0
Package Id
proxy-pumpify@1.0.0
Size
3.84 kB
NPM Version
3.3.12
Node Version
5.5.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
0%
3
Compared to previous week
Last month
50%
9
Compared to previous month
Last year
-37.3%
52
Compared to previous year
4
6
pipeline streams (combine) and also proxy non-stream methods. useful for advanced stream transforms like req and res.
1npm i --save proxy-pumpify
Example: transform a request
1require('http').createServer(function (req, res) { 2 // reverseStream reverses a stream 3 var reqTransform = pumpify(req, reverseStream()) 4 // all methods and properties of request should work on reqTransform 5 var url = reqTransform.url 6 var headers = reqTransform.headers 7 // ... 8 // this will pipe the reversed req body to res 9 reqTransform.pipe(res) 10})
Example: transform a response
1var httpProxy = require('http-proxy') 2var proxy = httpProxy.createProxyServer(); 3 4require('http').createServer(function (req, res) { 5 // reverseStream reverses a stream 6 // resTransform inherits from res: inherits takes 'src', 'dest', or any object to inherit from 7 const resTransform = pumpify(reverseStream(), res, { inherits: 'dest' }) 8 // resTransform can be used in place of `res` w/ http-proxy, bc it inherits from `res` 9 // resTransform will reverse google's response body before piping it to res 10 proxy.web(req, resTransform, { 11 target: 'http://google.com' 12 }) 13})
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/3 approved changesets -- score normalized to 0
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
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-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