1.0.6 • Published 9 years ago
pipe-to-websocket v1.0.6
pipe-to-websocket |

Description:
Takes the standard input and pipes it to websocket to be used
Install:
npm install -g pipe-to-websocketUsage:
tail -f /var/log/nginx/error.log | p2wConfig
Default port that websocket listens to is 8090 but can be configured as
tail -f /var/log/nginx/error.log | SOCKET_PORT=8088 p2wExample:
A client example is in client/index.html showing how to use it.