All Projects → zjael → simple-proxy-agent

zjael / simple-proxy-agent

Licence: MIT License
Simple agent for sending HTTP and HTTPS traffic through HTTP and SOCKS proxies

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to simple-proxy-agent

Loki.Rat
Loki.Rat is a fork of the Ares RAT, it integrates new modules, like recording , lockscreen , and locate options. Loki.Rat is a Python Remote Access Tool.
Stars: ✭ 63 (+215%)
Mutual labels:  agent
mps
MPS is a high-performance HTTP(S) proxy library that supports forward proxies, reverse proxies, man-in-the-middle proxies, tunnel proxies, Websocket proxies. MPS 是一个高性能HTTP(s)中间代理库,它支持正向代理、反向代理、中间人代理、隧道代理、Websocket代理
Stars: ✭ 64 (+220%)
Mutual labels:  agent
ssrf-agent
make http(s) request to prevent SSRF
Stars: ✭ 16 (-20%)
Mutual labels:  agent
evoplex
Evoplex is a fast, robust and extensible platform for developing agent-based models and multi-agent systems on networks. It's available for Windows, Linux and macOS.
Stars: ✭ 98 (+390%)
Mutual labels:  agent
re-gent
A Distributed Clojure agent for running remote functions
Stars: ✭ 18 (-10%)
Mutual labels:  agent
atomicagent
💥 Atomic Agent
Stars: ✭ 18 (-10%)
Mutual labels:  agent
metrics-agent
JVM agent based metrics with Prometheus and Dropwizard support (Java, Scala, Clojure, Kotlin, etc)
Stars: ✭ 25 (+25%)
Mutual labels:  agent
javametrics
Application Metrics for Java™ instruments the Java runtime for performance monitoring, providing the monitoring data visually with its built in dashboard
Stars: ✭ 19 (-5%)
Mutual labels:  agent
GYM XPLANE ML
GYM Environment for XPlane. Reinforcement Learning and Autonomous Piloting.
Stars: ✭ 45 (+125%)
Mutual labels:  agent
macos
macOS load bootup and optimization
Stars: ✭ 29 (+45%)
Mutual labels:  agent
mix-agent
基于rust语言开发的一套运维监控探针,支持widnows、linux、macos系统
Stars: ✭ 14 (-30%)
Mutual labels:  agent
ws-ldn-10
Generative design workshop (Clojure/ClojureScript)
Stars: ✭ 26 (+30%)
Mutual labels:  agent
skywalking-threadpool-agent
This project is designed to make it possible to propagate SkyWalking context without changing user's code when using threadpool.
Stars: ✭ 21 (+5%)
Mutual labels:  agent
YggdrasilOfficialProxy
MojangYggdrasil的更新! 以代理的方式提供伪正版与正版的实现
Stars: ✭ 89 (+345%)
Mutual labels:  agent
agent
Store sensitive data such as API tokens
Stars: ✭ 19 (-5%)
Mutual labels:  agent
OneAgent-SDK-for-Java
Enables custom tracing of Java applications in Dynatrace
Stars: ✭ 24 (+20%)
Mutual labels:  agent
sys-agent
System agent. Reports server status via HTTP API
Stars: ✭ 32 (+60%)
Mutual labels:  agent
nomad-plugin
Nomad cloud plugin for Jenkins
Stars: ✭ 53 (+165%)
Mutual labels:  agent
bee-apm
BeeAPM is a distributed tracing system and APM ( Application Performance Monitoring )
Stars: ✭ 137 (+585%)
Mutual labels:  agent
zenit
Zenit is a daemon collector for metrics and log parsers for any MySQL variant and ProxySQL
Stars: ✭ 24 (+20%)
Mutual labels:  agent

simple-proxy-agent

Build status Package version NPM downloads Make a pull request License: MIT

An simple agent for HTTP and HTTPS through HTTP and SOCKS proxies

Table of Contents

Install

npm install simple-proxy-agent

Usage

Proxy Request

const fetch = require('node-fetch');
const ProxyAgent = require('simple-proxy-agent');

fetch('https://example.com', {
  agent: new ProxyAgent('http://0.0.0.0:8080', {
    // Options, with all defaults
    tunnel: true, // If true, will tunnel all HTTPS using CONNECT method
    timeout: 5000, // Time in milli-seconds, to maximum wait for proxy connection to establish
  })
})
.then(res => res.text())
.then(body => console.log(body))
.catch(err => console.error(err))

Basic Authentication

const fetch = require('node-fetch');
const ProxyAgent = require('simple-proxy-agent');

fetch('https://example.com', {
  agent: new ProxyAgent('http://user:[email protected]:8080')
})
.then(res => res.text())
.then(body => console.log(body))
.catch(err => console.error(err))

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].