replNetServer

Program which serves node REPL via network

Download as .zip Download as .tar.gz View on GitHub

replNetServer

Program serves node REPL via network

Install

$ sudo npm install -g replNetServer

Run

Server

$ cat listenConf.json 
{
  "host": "localhost",
  "port": 7788,
  "exclusive": true
}
$ replNetServer --listenConf listenConf.json

Client

$ nc localhost 7788
> hello = "hello world"
'hello world'
>

Concept

Comes from https://nodejs.org/api/repl.html#repl_repl_start_options

Reference

See this