Installations
npm install @defaude/autohide-cursor
Developer Guide
Typescript
Yes
Module System
CommonJS
Node Version
14.16.1
NPM Version
6.14.12
Score
64.5
Supply Chain
70.7
Quality
75.3
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
defaude
Download Statistics
Total Downloads
653
Last Day
1
Last Week
2
Last Month
9
Last Year
86
GitHub Statistics
20 Commits
2 Watching
1 Branches
1 Contributors
Bundle Size
467.00 B
Minified
279.00 B
Minified + Gzipped
Package Meta Information
Latest Version
1.0.2
Package Id
@defaude/autohide-cursor@1.0.2
Unpacked Size
2.92 kB
Size
1.48 kB
File Count
6
NPM Version
6.14.12
Node Version
14.16.1
Total Downloads
Cumulative downloads
Total Downloads
653
Last day
0%
1
Compared to previous day
Last week
-33.3%
2
Compared to previous week
Last month
12.5%
9
Compared to previous month
Last year
-33.3%
86
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
No dependencies detected.
autohide-cursor
Tiny no-dependency library that will automatically hide the cursor after a given time of mouse inactivity. No build tools, no bundlers, nothing.
Direct usage
The easiest way to get this is to import the index.js
module - this will load the autohideCursor
function and start
it with the default delay of 1 second:
1<script type="module" src="https://unpkg.com/@defaude/autohide-cursor/index.js"></script>
When you want to control the delay (or when/how the function is called), import the function directly:
1<script type="module"> 2 import {autohideCursor} from "https://unpkg.com/@defaude/autohide-cursor"; 3 autohideCursor(1234); 4</script>
Installation as npm package
This is published as npm package, so you can just
npm install @defaude/autohide-cursor
and use it in your code
1import { autohideCursor } from '@defaude/autohide-cursor'; 2 3// ... and whenever you want start hiding the cursor 4autohideCursor(); // or pass the delay explicitly
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: Do What The F*ck You Want To Public License: LICENSE:0
Reason
Found 0/20 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
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
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
Last Scanned on 2025-01-27
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