📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

starfield-react

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

starfield-react

A React component that draws a Starfield on a canvas dom element.

3.0.0-dev-0
Source
npm
Version published
Weekly downloads
46
-14.81%
Maintainers
1
Weekly downloads
 
Created
Source

Starfield

A react component that draws a starfield in a canvas element.

Using the starfield is just like a regular React component from npm:

  • Install with npm or yarn:

    • npm install starfield-react
    • yarn add starfield-react
  • Add it to your React app:

import {render} from 'react-dom'
import {Starfield} from 'starfield-react'

render(<Starfield/>, document.querySelector('body'))

The default Starfield will look like:

Default starfield render

See the demo app for more examples in demo/src/index.js.

Keywords

react

FAQs

Package last updated on 06 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts