
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
rocket-cursor-component
Advanced tools
A customizable React component that replaces the cursor with an animated rocket, featuring rotation and flame effects.
A customizable React component that replaces the mouse cursor with an animated rocket that rotates based on movement and displays a flame effect when in motion.
Install the package via npm:
npm install rocket-cursor-component
Here's an example of how to use the RocketCursor
component in your React app:
import React from "react";
import RocketCursor from "rocket-cursor-component";
function App() {
return (
<div>
<h1>Your app content here</h1>
<RocketCursor size={60} threshold={15} flameHideTimeout={300} />
</div>
);
}
export default App;
Prop | Type | Default | Description |
---|---|---|---|
size | number | 50 | The size of the rocket cursor in pixels. |
threshold | number | 10 | Minimum distance (pixels) to move before the rocket rotates. |
isVisible | boolean | true | Initial visibility state of the rocket cursor. |
flameHideTimeout | number | 300 | Time in milliseconds before the flame hides after stopping. |
no-rocket-cursor
.Here's a demo of the Rocket Cursor in action:
flameHideTimeout
prop for configurable flame duration.no-rocket-cursor
.This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A customizable React component that replaces the cursor with an animated rocket, featuring rotation and flame effects.
The npm package rocket-cursor-component receives a total of 6 weekly downloads. As such, rocket-cursor-component popularity was classified as not popular.
We found that rocket-cursor-component demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.