console-recorder
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

console-recorder

Simply record and replay console session.

Build Status Coverage Status npm version

Concept

It is in essence a text log with timestamps. By using the timestamps, you can reproduce the console state in real-time.

Replay is a visual reproduction. The actual commands won't be re-run.

Features

  • Record tools such as VIM.
  • Customize your replay experience with options: speed, typingSpeed, etc.
  • Terminate the replay with Ctrl+C.
  • Turn your recording to Animated SVG file.

Install

npm i -g console-recorder

Usage

This tool supports 3 commands:

  • record
  • replay
  • render

Record

console-recorder record log.json

Open a new shell session and start recording.

Use exit to terminate the session and finish recording.

Replay

console-recorder replay log.json

Replay a previously recorded session.

No interaction is necessary, you can terminate the replay with Ctrl+C.

Render

console-recorder render -i log.json -o output.svg

Render a recorded session to an Animated SVG file.

palette

Package Sidebar

Install

npm i console-recorder

Weekly Downloads

1

Version

2.0.0

License

Apache-2.0

Unpacked Size

78.7 kB

Total Files

8

Last publish

Collaborators

  • dinoabsoluto