@extra-asciinema/cat-sync.min

Prints full output of recorded asciicast to a terminal. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:

Usage no npm install needed!

<script type="module">
  import extraAsciinemaCatSyncMin from 'https://cdn.skypack.dev/@extra-asciinema/cat-sync.min';
</script>

README

Prints full output of recorded asciicast to a terminal. :package: :smiley_cat: :running: :vhs: :moon: :scroll: :newspaper: :blue_book:

Alternatives: cat, catSync.

This is part of package extra-asciinema.

This is browserified, minified version of @extra-asciinema/cat-sync.
It is exported as global variable asciinema_catSync.
CDN: unpkg, jsDelivr.


asciinema.catSync(f);
// f: filename
// → full output (including all escape sequences)
const asciinema = require("extra-asciinema");

asciinema.catSync("saved.cast");
// output in "saved.cast" file


References