Files
node-v0.x-archive/bin/node-repl
Ryan Dahl ffded5ac86 Extract the good parts of node-repl into standalone library.
Now you can require("/repl.js") in your server to be able to examine it
while it's running.
2009-09-24 00:56:24 +02:00

11 lines
246 B
JavaScript
Executable File

#!/usr/bin/env node
puts("Welcome to the Node.js REPL.");
puts("Enter ECMAScript at the prompt.");
puts("Tip 1: Use 'rlwrap node-repl' for a better interface");
puts("Tip 2: Type Control-D to exit.");
include("/repl.js");
// vim:ft=javascript