# repl.history

> add history to node's repl

Latest version **0.1.4** (published 2017-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install repl.history
pnpm add repl.history
yarn add repl.history
bun add repl.history
```

Provides the command `repl.history`.

## 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.1.4 |
| Published | 2017-01-27 |
| First published | 2011-11-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 55 |
| Author | Elijah Insua |
| Maintainers | tmpvar |

## Links

- npm: https://www.npmjs.com/package/repl.history
- Repository: https://github.com/tmpvar/repl.history
- Homepage: https://github.com/tmpvar/repl.history#readme
- Issues: https://github.com/tmpvar/repl.history/issues
- npm.io page: https://npm.io/package/repl.history

## Recent versions

- 0.1.4 (latest) — 2017-01-27
- 0.1.3 — 2015-03-18
- 0.1.2 — 2014-08-01
- 0.1.1 — 2011-11-25
- 0.1.0 — 2011-11-24

## README

# repl.history

Persist a node repl's history to a file.

## from node

install: `npm install repl.history`

```javascript
var repl = require('repl').start('> ');
require('repl.history')(repl, process.env.HOME + '/.node_history');
```

this will drop a `.node_history` file in your home directory.

## from the command line

install: `npm install -g repl.history`

run `repl.history` on the command line

A file `~/.node_history` will be created.

I like to alias it to `nr` for node repl

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