1.1.21 • Published 4 years ago

corona-virus-js v1.1.21

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

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-js

Usage

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' });
});
1.1.21

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago