0.8.12 • Published 5 years ago

pry v0.8.12

Weekly downloads
15
License
MIT
Repository
github
Last release
5 years ago

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

0.8.9

5 years ago

0.8.8

5 years ago

0.8.12

5 years ago

0.8.11

5 years ago

0.8.10

5 years ago

0.8.7

7 years ago

0.8.6

7 years ago

0.8.5

7 years ago

0.8.4

7 years ago

0.8.3

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.2

8 years ago

0.7.1

8 years ago

0.7.0

8 years ago

0.6.6

8 years ago

0.6.5

9 years ago

0.6.4

9 years ago

0.6.3

9 years ago

0.6.2

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.2

9 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.3

9 years ago

0.4.2

10 years ago

0.4.1

10 years ago

0.4.0

10 years ago

0.3.6

10 years ago

0.3.5

10 years ago

0.3.4

10 years ago

0.3.3

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.3.0

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.0.0

11 years ago