From 6b0d8861c371bae0423e33e899587ee7c9036372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?He=CC=84sperus?= Date: Tue, 24 Feb 2026 01:14:30 +0800 Subject: [PATCH 1/2] docs: update bundle size verification links and information - Replace Bundlephobia with BundleJS for package size verification since the former is down --- README.md | 20 ++++++++++---------- docs/en/whats-pointeract.md | 18 +++++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 59ff135..315ff6e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ library security - + package size Typescript @@ -118,15 +118,15 @@ Missing your desired interaction? [Write your own module](https://pointeract.con There're already plenty of interaction libraries out there, most famous ones are `Interact.js` and `Hammer.js`, but Pointeract is different. -| Criteria | Pointeract | [Hammer.js](https://hammerjs.github.io) | [Interact.js](https://interactjs.io) | -| :--------------------------------------------------------------------------------------- | :---------------------------------------------------: | :----------------------------------------------: | :-------------------------------------------------: | -| Written in TypeScript? | ✅ | ❌ | ✅ | -| Tree-shakeable? | [✅](https://bundlephobia.com/package/pointeract) | [❌](https://bundlephobia.com/package/hammerjs) | [❌](https://bundlephobia.com/package/interactjs) | -| Total Bundle Size (Minified + Gzipped) | 👑 [3KB](https://bundlephobia.com/package/pointeract) | [7KB](https://bundlephobia.com/package/hammerjs) | [28KB](https://bundlephobia.com/package/interactjs) | -| Last Updated | 👑 Actively Maintained | 2015 | 2023 | -| Features | Pointer and Wheel Related + Some Utils | Pointer Related | 👑 Pointer and Wheel Related + Comprehensive Utils | -| Robust? (See [Testing](https://pointeract.consensia.cc/development/testing#monkey-test)) | ✅ | ❌ Element Jerks | ❌ Element Ignores the Second Touch | -| Extensible? | ✅ | ❌ | ❌ | +| Criteria | Pointeract | [Hammer.js](https://hammerjs.github.io) | [Interact.js](https://interactjs.io) | +| :--------------------------------------------------------------------------------------- | :---------------------------------------------------: | :---------------------------------------------: | :--------------------------------------------------: | +| Written in TypeScript? | ✅ | ❌ | ✅ | +| Tree-shakeable? | ✅ | ❌ | ❌ | +| Total Bundle Size (Minified + Gzipped) | 👑 [3KB](https://bundlejs.com/?q=pointeract%40latest) | [7KB](https://bundlejs.com/?q=hammerjs%402.0.8) | [28KB](https://bundlejs.com/?q=interactjs%401.10.27) | +| Last Updated | 👑 Actively Maintained | 2015 | 2023 | +| Features | Pointer and Wheel Related + Some Utils | Pointer Related | 👑 Pointer and Wheel Related + Comprehensive Utils | +| Robust? (See [Testing](https://pointeract.consensia.cc/development/testing#monkey-test)) | ✅ | ❌ Element Jerks | ❌ Element Ignores the Second Touch | +| Extensible? | ✅ | ❌ | ❌ | ## Get Involved diff --git a/docs/en/whats-pointeract.md b/docs/en/whats-pointeract.md index 259291e..6640116 100644 --- a/docs/en/whats-pointeract.md +++ b/docs/en/whats-pointeract.md @@ -31,15 +31,15 @@ Missing your desired interaction? [Write your own module](/development/custom-mo There're already plenty of interaction libraries out there, most famous ones are `Interact.js` and `Hammer.js`, but Pointeract is different. -| Criteria | Pointeract | [Hammer.js](https://hammerjs.github.io) | [Interact.js](https://interactjs.io) | -| :-------------------------------------------------------- | :---------------------------------------------------: | :----------------------------------------------: | :-------------------------------------------------: | -| Written in TypeScript? | ✅ | ❌ | ✅ | -| Tree-shakeable? | [✅](https://bundlephobia.com/package/pointeract) | [❌](https://bundlephobia.com/package/hammerjs) | [❌](https://bundlephobia.com/package/interactjs) | -| Total Bundle Size (Minified + Gzipped) | 👑 [3KB](https://bundlephobia.com/package/pointeract) | [7KB](https://bundlephobia.com/package/hammerjs) | [28KB](https://bundlephobia.com/package/interactjs) | -| Last Updated | 👑 Actively Maintained | 2015 | 2023 | -| Features | Pointer and Wheel Related + Some Utils | Pointer Related | 👑 Pointer and Wheel Related + Comprehensive Utils | -| Robust? (See [Testing](/development/testing#monkey-test)) | ✅ | ❌ Element Jerks | ❌ Element Ignores the Second Touch | -| Extensible? | ✅ | ❌ | ❌ | +| Criteria | Pointeract | [Hammer.js](https://hammerjs.github.io) | [Interact.js](https://interactjs.io) | +| :-------------------------------------------------------- | :---------------------------------------------------: | :---------------------------------------------: | :--------------------------------------------------: | +| Written in TypeScript? | ✅ | ❌ | ✅ | +| Tree-shakeable? | ✅ | ❌ | ❌ | +| Total Bundle Size (Minified + Gzipped) | 👑 [3KB](https://bundlejs.com/?q=pointeract%40latest) | [7KB](https://bundlejs.com/?q=hammerjs%402.0.8) | [28KB](https://bundlejs.com/?q=interactjs%401.10.27) | +| Last Updated | 👑 Actively Maintained | 2015 | 2023 | +| Features | Pointer and Wheel Related + Some Utils | Pointer Related | 👑 Pointer and Wheel Related + Comprehensive Utils | +| Robust? (See [Testing](/development/testing#monkey-test)) | ✅ | ❌ Element Jerks | ❌ Element Ignores the Second Touch | +| Extensible? | ✅ | ❌ | ❌ | ## License From cb976ba042d35c39776a07ef135204728c09efb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?He=CC=84sperus?= Date: Tue, 24 Feb 2026 01:44:18 +0800 Subject: [PATCH 2/2] add badge --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 315ff6e..e2b8ff6 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,12 @@ Made by Humans

+

+ + + +

+

Demo