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

Upload recorded asciicast to asciinema.org site.

asciinema.upload(f, [fn]);
// f:  filename
// fn: callback (err, asciicast URL)
// --> asciicast URL
const asciinema = require('extra-asciinema');

async function main() {
await asciinema.upload('saved.cast');
// asciicast URL
}
main();

references

Clone this wiki locally