SUSHI-REPL
Yet Another JavaScript REPL
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
SEE ALSO: REPL Node.js v0.10.29 Manual & Documentation
Installation
% npm install -g sushi-repl
Getting Started
REPL:
% sushi-repl
Node Module:
var sushiREPL = require("sushi-repl");
sushiREPL.start({ prompt: "寿司 >" });
Examples
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