Yet Another JavaScript REPL
A Read-Eval-Print-Loop (REPL) is available both as a standalone program and easily includable in other programs. The REPL provides a way to interactively run JavaScript and see the 🍣. It can be used for debugging, testing, or just trying things out.
SEE ALSO: REPL Node.js v0.10.29 Manual & Documentation
% npm install -g sushi-repl
REPL:
% sushi-repl
Node Module:
var sushiREPL = require("sushi-repl");
sushiREPL.start({ prompt: "寿司 >" });
CoffeeScript with Sushi REPL
#!/usr/bin/env coffee
coffeeREPL = require 'coffee-script/lib/coffee-script/repl'
sushiREPL = require 'sushi-repl'
coffeeREPL.start
writer: sushiREPL.writer