Skip to content

mohayonao/sushi-repl

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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

About

Yet Another JavaScript REPL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published