# pryishjs

> Repl debugging utility for NodeJS.

Latest version **0.0.3** (published 2015-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install pryishjs
pnpm add pryishjs
yarn add pryishjs
bun add pryishjs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-09-09 |
| First published | 2015-09-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | taromero |

## Links

- npm: https://www.npmjs.com/package/pryishjs
- Repository: https://github.com/taromero/pryish.js
- Homepage: https://github.com/taromero/pryish.js#readme
- Issues: https://github.com/taromero/pryish.js/issues
- npm.io page: https://npm.io/package/pryishjs

## Dependencies (1)

- [readline-sync](https://npm.io/package/readline-sync.md) ^1.2.21

## Recent versions

- 0.0.3 (latest) — 2015-09-09
- 0.0.2 — 2015-09-09
- 0.0.1 — 2015-09-09

## README

## PryishJS

Aims to provide a debugging interface similar to Ruby's Pry (Pry-ish) for NodeJS.

This project is similar to the existing [pry.js](https://www.npmjs.com/package/pryjs) (but with less features). I came up with this alternative because pry.js didn't work as expected when I tried it.

### How to use

`npm install pryishjs --save-dev`
`npm install readline-sync --save-dev`. You need to install this as a separate dependency, because the "breakpoint" actually evals a function string that tries to import readline-sync.

Code:

``` javascript
pry = require('pryish')

var a = 10

eval(pry)

a = 20
```

From the CLI: `node my-script.js`. A REPL prompt should appear.

You can try it by running `node test.js` from this project's root directory.

#### Commands

- `c`: continue with the script.
- `_c`: show calling context.

---
_Source: https://npm.io/package/pryishjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
