Installations
npm install @ngard/tiny-throttle
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
7.5.0
NPM Version
6.4.1
Score
67.7
Supply Chain
77.5
Quality
75.1
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
NickGard
Download Statistics
Total Downloads
895
Last Day
2
Last Week
8
Last Month
16
Last Year
113
GitHub Statistics
4 Commits
1 Watching
1 Branches
1 Contributors
Bundle Size
326.00 B
Minified
243.00 B
Minified + Gzipped
Package Meta Information
Latest Version
1.1.0
Package Id
@ngard/tiny-throttle@1.1.0
Unpacked Size
14.26 kB
Size
5.50 kB
File Count
8
NPM Version
6.4.1
Node Version
7.5.0
Total Downloads
Cumulative downloads
Total Downloads
895
Last day
0%
2
Compared to previous day
Last week
700%
8
Compared to previous week
Last month
220%
16
Compared to previous month
Last year
-39.9%
113
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
tiny-throttle
A minimal utility similar to lodash.throttle
. For when every byte counts!
lodash.throttle:
tiny-throttle:
Install
1npm install @ngard/tiny-throttle
Syntax
1throttle(/* function, interval */);
Parameters
function
- The function to be throttled.
interval
- The amount of time, in milliseconds, to wait between invocations of the function. All function calls made during this interval are ignored.
Returns
A throttled function.
Example
1import { throttle } from '@ngard/tiny-throttle'; 2 3window.addListener('scroll', throttle(animateSomething, 16));
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
6 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5
- Warn: Project is vulnerable to: GHSA-675m-85rw-j3w4
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m / GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-g6ww-v8xp-vmwg
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
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
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
2.3
/10
Last Scanned on 2025-01-13
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