pry
v0.8.12
Published
Pry like REPL in javascript. fork of blainesch/pry.js
Readme
Pryjs
A interactive repl for node, inspired by pry.
This is a fork of pry.js by blainesch. The work here is highly experimental and not to be trusted.
Installing
npm install --save-dev pryUsage
pry = require 'pry'
eval pry.itPRYINPUTCOLOR env variable makes pryjs also color input
Extra Commands
While you are in the prompt there are a few things you might want to do:
whereamiwill show you exactly where you are in the code. Accepts two integers to replace the default 5 before and 5 after.stopwill exit the pryjs prompt and continue through the app.killcompletely stop the script.wtfdisplay the last caught exception.versiondisplay the current version.modeswitch between javascript and coffeescript mode. Defaults to javascript.helpdisplay all the available commands.playplay lines of code as if you had entered them. Accepts two integers: start and end. End defaults to start.
Examples
Examples can be found in the examples directory.
Screenshots

