Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

test-repl

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test-repl

Modified node REPL for easy testing of a module.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 05 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc