Skip to content
Subhajit Sahu edited this page Feb 3, 2021 · 8 revisions

Prints 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