Skip to content
JS
Package

tocca

Super lightweight script (1kb) to detect via Javascript events like 'tap' 'dbltap' 'swipeup' 'swipedown' 'swipeleft' 'swiperight' on any kind of device.

v2.0.9MITCommonJSTypes: None
$ npm install tocca

Key numbers

As of 25 Sept 2026
Weekly downloads
4.7k
-21% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v2.0.9
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
02.5k5k7.5k10kSept 2025Mar 2026Sept 2026High 8.2k (26 May 2026)Low 1.4k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

4,674 downloads last week, 16,723 in the last month. The 12-month change of -21% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.9
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
51 kB
Dependencies (0)
None
npm install tocca

CDN

jsDelivr: 308.4k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/tocca@2.0.9/
  • unpkghttps://unpkg.com/tocca@2.0.9/
  • esm.shhttps://esm.sh/tocca@2.0.9
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 4674 < 10000; GitHub data not fetched yet; no category.