pipe-to-websocket

1.0.6 • Public • Published

pipe-to-websocket | Build Status Coverage Status

Description:

Takes the standard input and pipes it to websocket to be used

Install:

npm install -g pipe-to-websocket

Usage:

tail -f /var/log/nginx/error.log | p2w

Config

Default port that websocket listens to is 8090 but can be configured as

tail -f /var/log/nginx/error.log | SOCKET_PORT=8088 p2w

Example:

A client example is in client/index.html showing how to use it.

Readme

Keywords

none

Package Sidebar

Install

npm i pipe-to-websocket

Weekly Downloads

0

Version

1.0.6

License

MIT

Last publish

Collaborators

  • shriek