New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bjowes/keepalive-proxy-agent

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bjowes/keepalive-proxy-agent

proxy agent that honors keepalive. Scoped release to make recent code available through npm. Only intended for cypress-ntlm-auth, use at your own risk.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

node-keepalive-proxy-agent

Scoped release to make recent code available through npm. Please use the original repo if possible. Only intended for cypress-ntlm-auth, use at your own risk.

Join the chat at https://gitter.im/node-keepalive-proxy-agent/Lobby Build Status codecov npm npm Greenkeeper badge JavaScript Style Guide

features

  • working keepalive
  • option to allow self-signed servers
  • basic auth for proxy authentication
  • 60 lines of code (100% code coverage)

installation

npm install keepalive-proxy-agent

examples

using the https_proxy or HTTP_PROXY environment variables

let https = require('https')
let Agent = require('keepalive-proxy-agent')
let agent = new Agent ()
let options = {hostname: 'google.de', port: 443, agent: agent}
https.get(options, (resp) => resp.pipe(process.stdout))

using provided proxy

...
let agent = new Agent ({proxy:{hostname:"MYPROXYHOST",port:3128}})
...

connect to self-signed-server over proxy

...
let options = {hostname: 'google.de', port: 443, agent: agent, rejectUnauthorized: false}
...

allow proxy authentication

...
let agent = new Agent ({proxy:{hostname:"MYPROXYHOST",port:3128, auth:"USER:PASS"}})
...

caveat

FAQs

Package last updated on 12 Nov 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc