All Projects → kozhevnikov → Proxymise

kozhevnikov / Proxymise

Licence: mit
Chainable Promise Proxy

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Proxymise

Scrapy Rotating Proxies
use multiple proxies with Scrapy
Stars: ✭ 488 (-9.12%)
Mutual labels:  proxy
Goproxy
A global proxy for Go modules.
Stars: ✭ 5,082 (+846.37%)
Mutual labels:  proxy
Phridge
A bridge between node and PhantomJS
Stars: ✭ 526 (-2.05%)
Mutual labels:  promise
Proxy admin free
Proxy是高性能全功能的http代理、https代理、socks5代理、内网穿透、内网穿透p2p、内网穿透代理、内网穿透反向代理、内网穿透服务器、Websocket代理、TCP代理、UDP代理、DNS代理、DNS加密代理,代理API认证,全能跨平台代理服务器。
Stars: ✭ 487 (-9.31%)
Mutual labels:  proxy
Gsnova
Private proxy solution & network troubleshooting tool.
Stars: ✭ 509 (-5.21%)
Mutual labels:  proxy
Awesome Anti Censorship
curated list of open-source anti-censorship tools
Stars: ✭ 521 (-2.98%)
Mutual labels:  proxy
Avege
Yet Another Redsocks Golang Fork
Stars: ✭ 486 (-9.5%)
Mutual labels:  proxy
Kubeadm Playbook
Fully fledged (HA) Kubernetes Cluster using official kubeadm, ansible and helm. Tested on RHEL/CentOS/Ubuntu with support of http_proxy, dashboard installed, ingress controller, heapster - using official helm charts
Stars: ✭ 533 (-0.74%)
Mutual labels:  proxy
Weaver
An Advanced HTTP Reverse Proxy with Dynamic Sharding Strategies
Stars: ✭ 510 (-5.03%)
Mutual labels:  proxy
Atomic
A tiny, Promise-based vanilla JS Ajax/HTTP plugin with great browser support.
Stars: ✭ 526 (-2.05%)
Mutual labels:  promise
Wrp
Web Rendering Proxy: Use vintage, historical, legacy browsers on modern web
Stars: ✭ 503 (-6.33%)
Mutual labels:  proxy
Aws Es Proxy
aws-es-proxy is a small web server application sitting between your HTTP client (browser, curl, etc...) and Amazon Elasticsearch service.
Stars: ✭ 504 (-6.15%)
Mutual labels:  proxy
Thunks
A small and magical composer for all JavaScript asynchronous.
Stars: ✭ 523 (-2.61%)
Mutual labels:  promise
Asyncro
⛵️ Beautiful Array utilities for ESnext async/await ~
Stars: ✭ 487 (-9.31%)
Mutual labels:  promise
Go Shadowsocks2
Experimental Shadowsocks in Go. Stable fork at https://github.com/shadowsocks/go-shadowsocks2
Stars: ✭ 530 (-1.3%)
Mutual labels:  proxy
Localdots
HTTPS domains for localhost. 🏠
Stars: ✭ 486 (-9.5%)
Mutual labels:  proxy
Kneden
Transpile ES2017 async/await to vanilla ES6 Promise chains: a Babel plugin
Stars: ✭ 517 (-3.72%)
Mutual labels:  promise
Proxy
The Istio proxy components.
Stars: ✭ 533 (-0.74%)
Mutual labels:  proxy
Tor2web
Tor2web is an HTTP proxy software that enables access to Tor Hidden Services by mean of common web browsers
Stars: ✭ 531 (-1.12%)
Mutual labels:  proxy
Node Serialport
Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
Stars: ✭ 5,015 (+833.89%)
Mutual labels:  promise

Proxymise

npm

Chainable Promise Proxy.

Lightweight ES6 Proxy for Promises with no additional dependencies. Proxymise allows for method and property chaining without need for intermediate then() or await for cleaner and simpler code.

Use

npm i proxymise
const proxymise = require('proxymise');

// Instead of thens
foo.then(value => value.bar())
  .then(value => value.baz())
  .then(value => value.qux)
  .then(value => console.log(value));

// Instead of awaits
const value1 = await foo;
const value2 = await value1.bar();
const value3 = await value2.baz();
const value4 = await value3.qux;
console.log(value4);

// Use proxymise
const value = await proxymise(foo).bar().baz().qux;
console.log(value);

Practical Examples

Performance

Proxymised benchmark with 10000 iterations is practically as performant as the non-proxymised one.

node test/benchmark.js 
with proxymise: 3907.582ms
without proxymise: 3762.375ms
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].