Skip to content
wolfram77 edited this page Apr 4, 2020 · 8 revisions

Print full output of recorded asciicast to a terminal.

Alternatives: cat, catSync.

asciinema.cat(f, [fn]);
// f:  filename
// fn: callback (err, full output)
// --> full output (including all escape sequences)
const asciinema = require('extra-asciinema');

async function main() {
await asciinema.cat('saved.cast');
// output in "saved.cast" file
}
main();

references

Clone this wiki locally