@kdaily/shooting-stars

1.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @kdaily/shooting-stars

Weekly Downloads

1

Version

1.0.4

License

ISC

Unpacked Size

6.48 kB

Total Files

7

Last publish

Collaborators

  • kdaily