
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
HTTP request proxy middleware for node.js
Designed to be the simplest way possible to proxy http calls.
$ npm install --save bfn-proxy
Simple app. If created on heroku, go to https://applicationname.herokuapp.com/twitter.com/
require('http')
.createServer(require('bfn-proxy')())
.listen(process.env.PORT || 8080)
Simple app using middleware, i.e. http://servername.com/ipecho.net/plain
var express = require('express')
var pxy = require('bfn-proxy')()
var app = express()
app.use(pxy)
Only allow access from your local server with URI prefix '/pxy', i.e. http://127.0.0.1/pxy/www.bluefidelity.com/
var express = require('express')
var pxy = require('bfn-proxy')()
var app = express()
app.use('/pxy/', function (req, res, next) {
if (req.connection.remoteAddress !== '127.0.0.1') {
return next(new Error('Bad authentication data'))
}
pxy(req, res)
})
FAQs
HTTP request proxy middleware for node.js
The npm package bfn-proxy receives a total of 1 weekly downloads. As such, bfn-proxy popularity was classified as not popular.
We found that bfn-proxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.