Gathering detailed insights and metrics for cursor-flashlight
Gathering detailed insights and metrics for cursor-flashlight
Gathering detailed insights and metrics for cursor-flashlight
Gathering detailed insights and metrics for cursor-flashlight
npm install cursor-flashlight
Typescript
Module System
Node Version
NPM Version
HTML (48.65%)
TypeScript (37.67%)
JavaScript (13.68%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
5 Stars
13 Commits
2 Forks
2 Watchers
1 Branches
1 Contributors
Updated on Apr 08, 2025
Latest Version
1.0.1
Package Id
cursor-flashlight@1.0.1
Unpacked Size
9.06 MB
Size
9.04 MB
File Count
23
NPM Version
6.14.4
Node Version
12.18.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
cursor-flashlight
🔦A tiny library to add flashlight effect to your website 🔦
Note: The effect won't show on devices without mouse (e.g.: smartphones)
Simply import the module and enable the flashlight with the size of the flashlight circle.
1import { enable } from 'cursor-flashlight'; 2 3enable({ size: '15vmax' });
1import React from 'react'; 2import { 3 enable, 4 disable, 5 isEnabled, 6} from 'cursor-flashlight'; 7 8const App = () => { 9 const handleToggleFlashlight = () => { 10 if (isEnabled()) { 11 disable() 12 } else { 13 enable({ size: '15vmax' }) 14 } 15 } 16 17 return ( 18 <div> 19 Lorem ipsum stuffs 20 <button onClick={handleToggleFlashlight}>Toggle flashlight</button> 21 </div> 22 ) 23};
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no SAST tool detected
Details
Reason
Found 0/13 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
33 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More