simple-test-proxy
v0.1.3
Published
simple-test-proxy is a tiny wrapper for [elazarl/goproxy](https://github.com/elazarl/goproxy). It was created to quickly spin up fast proxies for testing.
Downloads
12
Readme
simple-test-proxy
simple-test-proxy is a tiny wrapper for elazarl/goproxy. It was created to quickly spin up fast proxies for testing.
Usage
import { HttpProxy } from 'simple-test-proxy';
const proxy = new HttpProxy('localhost', 8080);
proxy.start();
// Run tests etc.
proxy.stop();