An easy to use Node.js API for rendering terminal screenshots and recordings to SVG or PNG
Read the docs at cli-screencast.io
- Capture terminal recordings from spawned processes, shell sessions, or writes to
process.stdout
. - Render screenshots and recordings to svg and png.
Install with npm
:
npm install cli-screencast
Or with yarn
:
yarn add cli-screencast
For rendering a single terminal frame as a screenshot.
For launching and recording a terminal shell session.
For running and recording a spawned child process.
For capturing node.js code within a callback function.
For rendering an animated terminal screen capture from an array of content frames.
For rendering capture data generated by one of the other api methods.