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

14 lines
314 B
Plaintext
Raw Normal View History

2009-09-11 20:32:24 +02:00
#!/usr/bin/env node
2010-03-09 00:07:26 +01:00
puts = require("sys").puts;
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.");
2010-01-04 17:10:53 +01:00
puts("Type '.help' for options.");
2009-09-11 20:32:24 +02:00
require('repl').start();
2009-09-11 20:32:24 +02:00
// vim:ft=javascript