Skip to content

Blazing fast library for sprinkling your web app with some top notch coughing. πŸ‘ŒπŸ˜·πŸš€

License

Notifications You must be signed in to change notification settings

anthonypenna/corona-virus-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

Blazing fast library for sprinkling your web app with some top notch coughing. πŸ‘ŒπŸ˜·πŸš€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published