1.0.4 • Published 5 years ago

@kdaily/shooting-stars v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

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

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago