Gathering detailed insights and metrics for gulp-connect-reproxy
Gathering detailed insights and metrics for gulp-connect-reproxy
npm install gulp-connect-reproxy
Typescript
Module System
Node Version
NPM Version
63.5
Supply Chain
67.8
Quality
77.3
Maintenance
100
Vulnerability
99.5
License
JavaScript (100%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
13,248
Last Day
5
Last Week
14
Last Month
42
Last Year
673
7 Stars
7 Commits
1 Forks
1 Watchers
1 Branches
1 Contributors
Updated on Feb 20, 2025
Minified
Minified + Gzipped
Latest Version
0.0.98
Package Id
gulp-connect-reproxy@0.0.98
Size
2.47 kB
NPM Version
3.8.9
Node Version
6.2.0
Cumulative downloads
Total Downloads
Last Day
0%
5
Compared to previous day
Last Week
250%
14
Compared to previous week
Last Month
-59.6%
42
Compared to previous month
Last Year
-12.8%
673
Compared to previous year
A simple proxy middleware for gulp-connect, it can start reverse proxy server with gulp-connect, and it supports Regular Expression.
npm install gulp-connect-reproxy --save
1 2var gulp = require("gulp"); 3var connect = require("gulp-connect"); 4var Reproxy = require("gulp-connect-reproxy"); 5 6gulp.task('connect', function () { 7 connect.server({ 8 root: "build", 9 port: 9000, 10 livereload: true, 11 12 middleware: function (connect, options) { 13 14 options.rule = [/\.do/, /\.jsp/, /\.htm/]; 15//or options.rule = /\.do/; 16 17 options.server = "127.0.0.1:8081"; 18 19 var proxy = new Reproxy(options); 20 21 return [proxy]; 22 } 23 }); 24});
@ options.rule
The rule to proxy, it is an array or a string of Regular Expression
@ options.server
a server host name to proxy, contains the host and port
If we config it like this
@options : {
rule : /\.do/,
server : "127.0.0.1:8081"
}
when we request "http://127.0.0.1:9000/user/edit.do",
the proxy server will work and the URL will be redirected to "http://127.0.0.1:8001/user/edit.do";
but when we requrest "http://127.0.0.1:9000/user/user.js",
it will not work.
Name : Bin Zhang
From : Beijing China
No vulnerabilities found.
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/7 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
no SAST tool detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-02-17
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