nextproxy

0.0.1 • Public • Published

Next Proxy

A Node Proxy service

NPM NPM

npm install nextproxy

Example

'use strict';
 
const PORT           = 5000;
const DESTINATION_P  = 8888;
const DESTINATION_IP = '127.0.0.1';
const NEXTPROXY      = require('nextproxy');
const APP            = new NEXTPROXY();
 
APP.destination(DESTINATION_IP, DESTINATION_P);
APP.listen(PORT);
 
APP.on('error', function (err) {
  console.log(err.stack);
});
 
console.log('Listening on port: ' + PORT + ' proxying to ' + DESTINATION_IP + ':' + DESTINATION_P);

/nextproxy/

    Package Sidebar

    Install

    npm i nextproxy

    Weekly Downloads

    7

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • ptariche