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

@recordreplay/replay-node-cli

Package Overview
Dependencies
Maintainers
7
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@recordreplay/replay-node-cli

CLI tool for creating recordings using the replay version of node

  • 0.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
379
increased by193.8%
Maintainers
7
Weekly downloads
 
Created
Source

replay-node-cli

CLI tool for creating recordings using the Replay version of node.

Overview

The replay version of node is a replacement for the node executable which saves a recording of its behavior to disk that can be uploaded to the record/replay web service for viewing. replay-node is a CLI tool that allows the replay version of node to be selectively used when running node scripts.

Installation

npm i @recordreplay/replay-node-cli --global

Usage

replay-node can be used in the following ways to create recordings. Afterwards, use the replay-recordings CLI tool to manage and upload the recordings.

replay-node script.js ...args

Use the replay version of node to record a specific script and arguments.

replay-node --exec executable ...args

Run an executable command with $PATH updated so that all node scripts will use the Replay version of node to record their behavior.

replay-node --update

Ensure the replay version of node is downloaded/updated.

Supported environment variables:

  • RECORD_REPLAY_DIRECTORY (defaults to $HOME/.replay)
  • RECORD_REPLAY_NODE_DIRECTORY (defaults to $RECORD_REPLAY_DIRECTORY/node) Allows to specify a folder in which the replay-patched node binary is to be found.
  • RECORD_REPLAY_DRIVER Allows you to specify the path to the recordreplay.so driver library.

FAQs

Package last updated on 19 Apr 2022

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