1.0.0 • Published 6 years ago
@kdaily/shooting-stars v1.0.0
shooting-stars
Realistic shooting stars effect
Installation
npm install @kdaily/shooting-starsUsage
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