sockjs-repl Dependencies npm install sockjs-node sockjs-client --save Usage I'll let you figure that out by yourself... see the test file.