Skip to content

uploadSync

Subhajit Sahu edited this page Feb 3, 2021 · 7 revisions

Uploads recorded asciicast to asciinema.org site. ๐Ÿ“ฆ ๐Ÿ˜บ ๐Ÿƒ ๐Ÿ“ผ ๐ŸŒ” ๐Ÿ“œ ๐Ÿ“ฐ ๐Ÿ“˜

Alternatives: upload, uploadSync.


asciinema.uploadSync(f);
// f: filename
// โ†’ asciicast URL
const asciinema = require("extra-asciinema");

asciinema.uploadSync("saved.cast");
// asciicast URL


References

Clone this wiki locally