-
Notifications
You must be signed in to change notification settings - Fork 0
retimeSync
Subhajit Sahu edited this page Feb 3, 2021
·
8 revisions
Updates time in asciicast file. 📦 😺 🏃 📼 🌔 📜 📰 📘
Alternatives: retime, retimeSync, retimeData.
asciinema.retimeSync(f, [o]);
// f: filename
// o: options
// .input: input text
// .inputRate: input rate (0.1s)
// .inputDelay: input delay (1s)
// .outputRate: output rate (0.1s)
// .outputDelay: output delay (0.1s)
// .delay: initial delay (0s)
const asciinema = require("extra-asciinema");
asciinema.retimeSync("saved.cast", {inputDelay: 2});
// "saved.cast" is updated