node-proxy-protocol

Parser for the HA Proxy/stud PROXY protocol

npm install node-proxy-protocol
1 downloads in the last day
29 downloads in the last week
92 downloads in the last month

Node.js Proxy Protocol Parser

Parses the HA Proxy/stud proxy protocol line using strtok.

Usage

var proxy_protocol = require("./");

proxy_protocol.parse(tcp4, function(err, obj) {
  console.log('Got proxy details');
  console.log(obj);
});
npm loves you