pry
Pry like REPL in javascript. fork of blainesch/pry.js
Last updated 18 days ago by redka .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pry 
SYNC missed versions from official npm registry.

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 pry

Usage

pry = require 'pry'
eval pry.it

PRYINPUTCOLOR 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:

  • whereami will show you exactly where you are in the code. Accepts two integers to replace the default 5 before and 5 after.
  • stop will exit the pryjs prompt and continue through the app.
  • kill completely stop the script.
  • wtf display the last caught exception.
  • version display the current version.
  • mode switch between javascript and coffeescript mode. Defaults to javascript.
  • help display all the available commands.
  • play play 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

pryjs

Current Tags

  • 0.8.12                                ...           latest (18 days ago)

38 Versions

  • 0.8.12                                ...           18 days ago
  • 0.8.11                                ...           18 days ago
  • 0.8.10                                ...           18 days ago
  • 0.8.8                                ...           18 days ago
  • 0.8.7                                ...           2 years ago
  • 0.8.6                                ...           2 years ago
  • 0.8.5                                ...           2 years ago
  • 0.8.4                                ...           2 years ago
  • 0.8.3                                ...           2 years ago
  • 0.8.2                                ...           2 years ago
  • 0.8.1                                ...           2 years ago
  • 0.8.0                                ...           2 years ago
  • 0.7.2                                ...           3 years ago
  • 0.7.1                                ...           3 years ago
  • 0.7.0                                ...           3 years ago
  • 0.6.6                                ...           3 years ago
  • 0.6.5                                ...           4 years ago
  • 0.6.4                                ...           4 years ago
  • 0.6.3                                ...           4 years ago
  • 0.6.2                                ...           4 years ago
  • 0.6.1                                ...           4 years ago
  • 0.6.0                                ...           4 years ago
  • 0.5.2                                ...           4 years ago
  • 0.5.1                                ...           4 years ago
  • 0.5.0                                ...           4 years ago
  • 0.4.3                                ...           4 years ago
  • 0.4.2                                ...           5 years ago
  • 0.4.1                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.6                                ...           5 years ago
  • 0.3.5                                ...           5 years ago
  • 0.3.4                                ...           5 years ago
  • 0.3.3                                ...           5 years ago
  • 0.3.2                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
  • 0.2.0                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 74
Last Day 0
Last Week 0
Last Month 35
Dependencies (4)
Dev Dependencies (8)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |