corona-virus-js
v1.1.21
Published
Blazing fast library for sprinkling your web app with some top notch coughing. ππ·π
Readme
Corona Virus JS
Blazing fast library for sprinkling your web app with some top notch coughing. ππ·π
Guaranteed to scare away friends, family and coworkers π―.
Installation
$ npm install corona-virus-jsUsage
Be aware that the user must first have interacted with the DOM before being able to play audio.
import CoronaVirus from "corona-virus-js/dist";
const scaryButton = document.querySelector("#my-scary-button");
scaryButton.addEventListener("click", () => {
CoronaVirus.spread({ target: '#app' });
});