Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

nr

0.1.0 • Public • Published

nr

A repl wrapper for node. Pass repl options as flags and get persistent history of commands in the context of the working directory.

Installation

npm install -g nr

Usage

Via nr --help:

 
  Usage: nr [options]
 
  Options:
 
    -h, --help             output usage information
    -V, --version          output the version number
    -r, --root <dir>       directory to store histories
    -g, --global           use global object instead of separate context
    -p, --prompt <string>  the prompt for all I/O
    -n, --no-colors        disable colors
    -t, --no-tty           don't treat ouput stream as tty
    -i, --no-undefined     don'return value of a command if `undefined`
 

License

MIT

Install

npm i nr

DownloadsWeekly Downloads

5

Version

0.1.0

License

MIT

Last publish

Collaborators

  • avatar