Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 461 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 461 Bytes

ref/* taken from ansiplay Copyright 1991, Julie Ibarra
doc/mus/* taken from textfiles.com

Usage:

    import * as ansiplay from "./ansiplay.js";

    if (ansiplay.is_playing()) {
        ansiplay.stop().then(() => ansiplay.play(url));
    } else {
        ansiplay.play(url);
    }

Multiple imports will result in multiple voices.