0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/bin/node-repl
2010-01-04 22:06:18 -08:00

13 lines
316 B
JavaScript
Executable File

#!/usr/bin/env node
process.mixin(require('sys'));
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.");
puts("Type '.help' for options.");
require('repl').start();
// vim:ft=javascript