Gathering detailed insights and metrics for @types/react-hammerjs
Gathering detailed insights and metrics for @types/react-hammerjs
Gathering detailed insights and metrics for @types/react-hammerjs
Gathering detailed insights and metrics for @types/react-hammerjs
npm install @types/react-hammerjs
Typescript
Module System
82.8
Supply Chain
89.3
Quality
75.8
Maintenance
100
Vulnerability
100
License
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Total Downloads
1,311,898
Last Day
246
Last Week
4,709
Last Month
27,687
Last Year
343,019
48,916 Stars
88,339 Commits
30,220 Forks
641 Watching
5 Branches
9,977 Contributors
Latest Version
1.0.7
Package Id
@types/react-hammerjs@1.0.7
Unpacked Size
7.15 kB
Size
2.05 kB
File Count
5
Publised On
07 Nov 2023
Cumulative downloads
Total Downloads
Last day
-83.3%
246
Compared to previous day
Last week
-29.7%
4,709
Compared to previous week
Last month
-2.8%
27,687
Compared to previous month
Last year
15.2%
343,019
Compared to previous year
2
npm install --save @types/react-hammerjs
This package contains type definitions for react-hammerjs (https://github.com/JedWatson/react-hammerjs#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-hammerjs.
1import * as Hammer from "hammerjs"; 2import * as React from "react"; 3 4type Omit<T, K> = Pick<T, Exclude<keyof T, K>>; 5 6type HammerOptionsWithRecognizers = Omit<HammerOptions, "recognizers"> & { 7 recognizers?: { [gesture: string]: RecognizerOptions } | undefined; 8}; 9 10declare namespace ReactHammer { 11 interface ReactHammerProps { 12 children: React.ReactElement; 13 direction?: 14 | "DIRECTION_NONE" 15 | "DIRECTION_LEFT" 16 | "DIRECTION_RIGHT" 17 | "DIRECTION_UP" 18 | "DIRECTION_DOWN" 19 | "DIRECTION_HORIZONTAL" 20 | "DIRECTION_VERTICAL" 21 | "DIRECTION_ALL" 22 | undefined; 23 options?: HammerOptionsWithRecognizers | undefined; 24 recognizeWith?: { [gesture: string]: Recognizer | string } | undefined; 25 vertical?: boolean | undefined; 26 action?: HammerListener | undefined; 27 onDoubleTap?: HammerListener | undefined; 28 onPan?: HammerListener | undefined; 29 onPanCancel?: HammerListener | undefined; 30 onPanEnd?: HammerListener | undefined; 31 onPanStart?: HammerListener | undefined; 32 onPinch?: HammerListener | undefined; 33 onPinchCancel?: HammerListener | undefined; 34 onPinchEnd?: HammerListener | undefined; 35 onPinchIn?: HammerListener | undefined; 36 onPinchOut?: HammerListener | undefined; 37 onPinchStart?: HammerListener | undefined; 38 onPress?: HammerListener | undefined; 39 onPressUp?: HammerListener | undefined; 40 onRotate?: HammerListener | undefined; 41 onRotateCancel?: HammerListener | undefined; 42 onRotateEnd?: HammerListener | undefined; 43 onRotateMove?: HammerListener | undefined; 44 onRotateStart?: HammerListener | undefined; 45 onSwipe?: HammerListener | undefined; 46 onSwipeRight?: HammerListener | undefined; 47 onSwipeLeft?: HammerListener | undefined; 48 onSwipeUp?: HammerListener | undefined; 49 onSwipeDown?: HammerListener | undefined; 50 onTap?: HammerListener | undefined; 51 } 52} 53declare const ReactHammer: React.ComponentClass<ReactHammer.ReactHammerProps>; 54export = ReactHammer; 55
These definitions were written by Jason Unger, and Cecchi MacNaughton.
No vulnerabilities found.
Reason
30 commit(s) and 5 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
Found 27/30 approved changesets -- score normalized to 9
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 2024-12-23
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