0.2.0 • Published 7 years ago

test-repl v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

Build Status

test-repl

REPL designed to facilitate testing of packages by disabling caching of required files and aligning the base directory with the project root.

Requiring a file from the test repl will reload it from disk preventing you from having to constantly restart node.

screenshot

node_modules

Files in node_modules are cached in the same way as for normal calls to require. It turns out that there is a reason that node caches modules and re-importing every script in node_modules incurs a large performance hit.

Version 2 may allow you to configure this behavour.

Installation

$ npm install -g  test-repl

Usage

$ test-repl

Use in the same way as running $ node.

Command History

The history of commands is stored in a text file at ~/.node-test-repl-history.

0.2.0

7 years ago

0.1.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago