Gathering detailed insights and metrics for @types/react-custom-scrollbars
Gathering detailed insights and metrics for @types/react-custom-scrollbars
Gathering detailed insights and metrics for @types/react-custom-scrollbars
Gathering detailed insights and metrics for @types/react-custom-scrollbars
The repository for high quality TypeScript type definitions.
npm install @types/react-custom-scrollbars
Typescript
Module System
99.7
Supply Chain
93
Quality
76
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
18,515,233
Last Day
10,435
Last Week
67,202
Last Month
277,144
Last Year
3,130,542
NOASSERTION License
49,703 Stars
89,362 Commits
30,386 Forks
640 Watchers
6 Branches
9,955 Contributors
Updated on May 09, 2025
Latest Version
4.0.13
Package Id
@types/react-custom-scrollbars@4.0.13
Unpacked Size
6.53 kB
Size
2.01 kB
File Count
5
Published on
Dec 12, 2023
Cumulative downloads
Total Downloads
Last Day
18.4%
10,435
Compared to previous day
Last Week
20.8%
67,202
Compared to previous week
Last Month
1.1%
277,144
Compared to previous month
Last Year
-8.1%
3,130,542
Compared to previous year
1
npm install --save @types/react-custom-scrollbars
This package contains type definitions for react-custom-scrollbars (https://github.com/malte-wessel/react-custom-scrollbars).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-custom-scrollbars.
1import * as React from "react"; 2 3export as namespace ReactCustomScrollbars; 4 5export interface positionValues { 6 top: number; 7 left: number; 8 clientWidth: number; 9 clientHeight: number; 10 scrollWidth: number; 11 scrollHeight: number; 12 scrollLeft: number; 13 scrollTop: number; 14} 15 16export interface ScrollbarProps extends React.HTMLProps<Scrollbars> { 17 onScroll?: React.UIEventHandler<any> | undefined; 18 onScrollFrame?: ((values: positionValues) => void) | undefined; 19 onScrollStart?: (() => void) | undefined; 20 onScrollStop?: (() => void) | undefined; 21 onUpdate?: ((values: positionValues) => void) | undefined; 22 23 renderView?: React.FunctionComponent<any> | undefined; 24 renderTrackHorizontal?: React.FunctionComponent<any> | undefined; 25 renderTrackVertical?: React.FunctionComponent<any> | undefined; 26 renderThumbHorizontal?: React.FunctionComponent<any> | undefined; 27 renderThumbVertical?: React.FunctionComponent<any> | undefined; 28 29 tagName?: string | undefined; 30 hideTracksWhenNotNeeded?: boolean | undefined; 31 32 autoHide?: boolean | undefined; 33 autoHideTimeout?: number | undefined; 34 autoHideDuration?: number | undefined; 35 36 thumbSize?: number | undefined; 37 thumbMinSize?: number | undefined; 38 universal?: boolean | undefined; 39 40 autoHeight?: boolean | undefined; 41 autoHeightMin?: number | string | undefined; 42 autoHeightMax?: number | string | undefined; 43 44 style?: React.CSSProperties | undefined; 45} 46 47export class Scrollbars extends React.Component<ScrollbarProps> { 48 scrollTop(top: number): void; 49 scrollLeft(left: number): void; 50 scrollToTop(): void; 51 scrollToBottom(): void; 52 scrollToLeft(): void; 53 scrollToRight(): void; 54 getScrollLeft(): number; 55 getScrollTop(): number; 56 getScrollWidth(): number; 57 getScrollHeight(): number; 58 getClientWidth(): number; 59 getClientHeight(): number; 60 getValues(): positionValues; 61} 62 63export default Scrollbars; 64
These definitions were written by kittimiyo.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-05-05
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