Coder Social home page Coder Social logo

replay-node-cli's Introduction

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.

replay-node-cli's People

Contributors

bhackett1024 avatar phryneas avatar

Stargazers

Álvaro García León avatar Inter-net avatar

Watchers

Jason Laster avatar James Cloos avatar  avatar

Forkers

phryneas

replay-node-cli's Issues

Create npm package

We should add an NPM package to make it simple to install the CLI tool, and update the README with installation instructions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.