Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@devil7softwares/react-drifter-stars
Advanced tools
Drifter Stars by @cr0ybot ported to React with Typescript support
npm install @devil7softwares/react-drifter-stars
import DrifterStars from '@devil7softwares/react-drifter-stars'
<DrifterStars />
import '@devil7softwares/react-drifter-stars/dist/styles.css'
Note: The component is transparent by default and takes full width and height of window. And can be used with your existing background.
NOTE: All of the options below are optional.
Prop | Type | Description |
---|---|---|
color | string | Color of particles, flare & lines. |
renderMesh | boolean | Specifies whether mesh should be rendered. |
blurSize | number | Size of blur for overall canvas. |
particle | IParticleOptions | Particle related options. |
flare | IFlareOptions | Particle flare options. |
glare | IGlareOptions | Glare related options. |
links | ILinkOptions | Link generation options. |
motion | IMotionOptions | Motion/movement options. |
Prop | Type | Description |
---|---|---|
render | boolean | Specifies whether particles should be rendered. |
count | number | Count of the particles to generate.\nNOTE: Particles will be generated even if its not going to be rendered) |
sizeBase | number | Base size for particles. Size of particle will be calculated as "Z-Axis x Multiplier + Base". |
sizeMultiplier | number | Multiplier for particle size calculation. Size of particle will be calculated as "Z-Axis x Multiplier + Base". |
flickerSmoothing | number | Amount of smoothing to apply on flickering. Higher Value = Smoother Flicker. |
Prop | Type | Description |
---|---|---|
render | boolean | Specifies whether flares should be rendered. |
count | number | Count of the flares to render. |
sizeBase | number | Base size for flare. Size of flare will be calculated as "Z-Axis x Multiplier + Base". |
sizeMultiplier | number | Multiplier for flare size calculation. Size of flare will be calculated as "Z-Axis x Multiplier + Base". |
Prop | Type | Description |
---|---|---|
render | boolean | Specifies whether particle glare should be rendered. |
angle | number | Angle for glare to generate. |
opacityMultiplier | number | Glare opacity multiplier. |
Prop | Type | Description |
---|---|---|
render | boolean | Specifies whether links should be rendered. |
lineWidth | number | Width of link line to generate. |
opacity | number | Opactity for link line. A number between 0 & 1. |
chance | number | Probability for a new line to appear per frame. Higher Value = Smaller Chance. |
fade | number | Number of frames for link to fade-out. |
speed | number | Distance a link travels in 1 frame. |
minLength | number | Minimum number of particles to link when a new line is generated. |
maxLength | number | Maximum number of particles to link when a new line is generated. |
Prop | Type | Description |
---|---|---|
ratio | number | Amount of motion to be generated. Default is 0.05. Used to generate motion based on mouse movement/device orientation changes. |
randomMotion | boolean | Enables random motions even without user interation. |
noiseLength | number | Length of noice for random motion. |
noiseStrength | number | Strength of noice for random motion. |
FAQs
React version of Drifter Stars by Cory Hughart
The npm package @devil7softwares/react-drifter-stars receives a total of 1 weekly downloads. As such, @devil7softwares/react-drifter-stars popularity was classified as not popular.
We found that @devil7softwares/react-drifter-stars demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.