# tcptestproxy **Repository Path**: mirrors_lightsofapollo/tcptestproxy ## Basic Information - **Project Name**: tcptestproxy - **Description**: TCP Proxy (only designed to handle testing cases... use at your own risk) - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-01-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # tcptestproxy TCP Proxy (only designed to handle testing cases... use at your own risk) # Usage ```js var ProxyServer = require('tcptestproxy'); // like if you want to proxy amqp for example var proxy = new ProxyServer(5672); proxy.listen( 0, // find an open port function() { // yep I am listening to stuff proxy.port; // woot I got a port! } ); ``` See the _test.js files for more examples of (and more importantly how to use it in your tests).