repl.history
add history to node's repl
Last updated 8 years ago by tmpvar .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install repl.history 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.4                                ...           latest (8 years ago)

5 Versions

  • 0.1.4                                ...           8 years ago
  • 0.1.3                                ...           10 years ago
  • 0.1.2                                ...           10 years ago
  • 0.1.1                                ...           13 years ago
  • 0.1.0                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |