Gathering detailed insights and metrics for hammerjs
Gathering detailed insights and metrics for hammerjs
Gathering detailed insights and metrics for hammerjs
Gathering detailed insights and metrics for hammerjs
A javascript library for multi-touch gestures :// You can touch this
npm install hammerjs
Typescript
Module System
Min. Node Version
Node Version
NPM Version
98.6
Supply Chain
87.7
Quality
78.2
Maintenance
100
Vulnerability
100
License
JavaScript (87.29%)
HTML (12.42%)
CSS (0.29%)
Total Downloads
334,022,598
Last Day
115,563
Last Week
1,075,120
Last Month
5,734,584
Last Year
67,043,978
24,162 Stars
1,199 Commits
2,625 Forks
527 Watching
9 Branches
86 Contributors
Minified
Minified + Gzipped
Latest Version
2.0.8
Package Id
hammerjs@2.0.8
Size
208.19 kB
NPM Version
2.14.12
Node Version
4.3.1
Publised On
22 Apr 2016
Cumulative downloads
Total Downloads
Last day
-56.6%
115,563
Compared to previous day
Last week
-22.3%
1,075,120
Compared to previous week
Last month
-0.3%
5,734,584
Compared to previous month
Last year
19.3%
67,043,978
Compared to previous year
Visit hammerjs.github.io for detailed documentation.
1// get a reference to an element 2var stage = document.getElementById('stage'); 3 4// create a manager for that element 5var mc = new Hammer.Manager(stage); 6 7// create a recognizer 8var Rotate = new Hammer.Rotate(); 9 10// add the recognizer 11mc.add(Rotate); 12 13// subscribe to events 14mc.on('rotate', function(e) { 15 // do something cool 16 var rotation = Math.round(e.rotation); 17 stage.style.transform = 'rotate('+rotation+'deg)'; 18});
An advanced demo is available here: http://codepen.io/runspired/full/ZQBGWd/
Read the contributing guidelines.
For PRs.
You can get the pre-build versions from the Hammer.js website, or do this by yourself running
npm install -g grunt-cli && npm install && grunt build
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 5/26 approved changesets -- score normalized to 1
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
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-12-16
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