# repl-inspect

> Embed an interactive repl on runtime.

Latest version **1.0.1** (published 2018-03-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install repl-inspect
pnpm add repl-inspect
yarn add repl-inspect
bun add repl-inspect
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-03-07 |
| First published | 2018-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Amr Alaa |
| Maintainers | n1amr |

## Links

- npm: https://www.npmjs.com/package/repl-inspect
- npm.io page: https://npm.io/package/repl-inspect

## Dependencies (1)

- [repl](https://npm.io/package/repl.md) ^0.1.3

## Recent versions

- 1.0.1 (latest) — 2018-03-07
- 1.0.0 — 2018-03-07

## README

# repl-inspect

Start a REPL session anywhere in your code.

## Example

```js
var foo = {
    name: "Can access this",
}
var bar = {
    name: "Cannot access this"
}

const add = (a, b) => a + b;

const repl = require('repl-inspect');
repl({foo: foo, anotherFooName: foo, add: add});
// > foo
// { name: 'Can access this' }
// > anotherFooName
// { name: 'Can access this' }
// > bar
// ReferenceError: bar is not defined
// > add(2, 3)
// 5
// >
```

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