3 ms·
Great writeup. I especially like the Telnet REPL trick: require("net") .createServer (socket) -> repl = require('repl') repl.start("my-node-p
by quarterto 14y ago
Great writeup. I especially like the Telnet REPL trick:
require("net")
.createServer (socket) ->
repl = require('repl')
repl.start("my-node-process>", socket)
.listen 5000, "localhost"
- jpallen 14y agoThanks. I didn't invent the telnet REPL trick, but I've forgotten where I found it so I can't give credit where it's due, sorry.
- sebastianmck 14y agoIt's in the docs. http://nodejs.org/api/repl.html#repl_repl_start_options http://nodejs.org/api/repl.html#repl_repl_start_options