mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
14 lines
314 B
JavaScript
Executable File
14 lines
314 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
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.");
|
|
puts("Type '.help' for options.");
|
|
|
|
require('repl').start();
|
|
|
|
// vim:ft=javascript
|