Licence
ISC
Version
1.0.4
Deps
0
Size
6 kB
Vulns
0
Weekly
0
shooting-stars
Realistic shooting stars effect
Installation
npm install @kdaily/shooting-stars
Usage
import SS from ('shooting-stars')
const ss = new SS(<element_id>, <options>).init()
Where element_id is the id of the DOM element you want the shooting stars to appear in, and options is an optional object.
Options
Default values are
{
frequency: 1
}
Where frequency is the number of seconds between shooting stars