Yet Another JavaScript REPL
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
fonts.js
index.js
package.json
sushi-repl.gif

README.md

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 🍣. It can be used for debugging, testing, or just trying things out.

SEE ALSO: REPL Node.js v0.10.29 Manual & Documentation

sushi-repl

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