repl.history

0.1.4 • Public • Published

repl.history

Persist a node repl's history to a file.

from node

install: npm install repl.history

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.4
    4,377
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.4
    4,377
  • 0.1.3
    5
  • 0.1.2
    0
  • 0.1.1
    2
  • 0.1.0
    2

Package Sidebar

Install

npm i repl.history

Weekly Downloads

4,386

Version

0.1.4

License

MIT

Last publish

Collaborators

  • tmpvar