Skip to content

Commit bda5bbf

Browse files
authored
docs: update bundle size verification links and information (#48)
* docs: update bundle size verification links and information - Replace Bundlephobia with BundleJS for package size verification since the former is down * add badge
1 parent 8fc35db commit bda5bbf

2 files changed

Lines changed: 25 additions & 19 deletions

File tree

β€ŽREADME.mdβ€Ž

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,19 @@
2626
<a href="https://snyk.io/test/npm/pointeract">
2727
<img src="https://img.shields.io/badge/Snyk%20Security-Monitored-333333?logo=snyk&style=flat&labelColor=8A2BE2&logoColor=white" alt="library security" />
2828
</a>
29-
<a href="https://bundlephobia.com/package/pointeract">
29+
<a href="https://bundlejs.com/?q=pointeract%40latest">
3030
<img src="https://img.shields.io/bundlejs/size/pointeract?format=minzip&style=flat&logo=webpack&logoColor=white&label=Minzipped%20Size&labelColor=orange&color=333333" alt="package size" />
3131
</a>
3232
<img src="https://img.shields.io/badge/Types-Strict-333333?logo=typescript&labelColor=blue&logoColor=white" alt="Typescript" />
3333
<img src="https://img.shields.io/badge/%F0%9F%96%90%EF%B8%8F%20Made%20by-Humans-333333?labelColor=25C260" alt="Made by Humans" />
3434
</p>
3535

36+
<p align="center">
37+
<a href="https://github.com/hesprs/synthkernel">
38+
<img src="https://github.com/hesprs/synthkernel/raw/refs/heads/main/assets/powered-by-synthkernel.svg" width="200px"></img>
39+
</a>
40+
</p>
41+
3642
<p align="center">
3743
<a href="https://pointeract.consensia.cc/playground">
3844
<strong>Demo</strong>
@@ -118,15 +124,15 @@ Missing your desired interaction? [Write your own module](https://pointeract.con
118124

119125
There're already plenty of interaction libraries out there, most famous ones are `Interact.js` and `Hammer.js`, but Pointeract is different.
120126

121-
| Criteria | Pointeract | [Hammer.js](https://hammerjs.github.io) | [Interact.js](https://interactjs.io) |
122-
| :--------------------------------------------------------------------------------------- | :---------------------------------------------------: | :----------------------------------------------: | :-------------------------------------------------: |
123-
| Written in TypeScript? | βœ… | ❌ | βœ… |
124-
| Tree-shakeable? | [βœ…](https://bundlephobia.com/package/pointeract) | [❌](https://bundlephobia.com/package/hammerjs) | [❌](https://bundlephobia.com/package/interactjs) |
125-
| Total Bundle Size (Minified + Gzipped) | πŸ‘‘ [3KB](https://bundlephobia.com/package/pointeract) | [7KB](https://bundlephobia.com/package/hammerjs) | [28KB](https://bundlephobia.com/package/interactjs) |
126-
| Last Updated | πŸ‘‘ Actively Maintained | 2015 | 2023 |
127-
| Features | Pointer and Wheel Related + Some Utils | Pointer Related | πŸ‘‘ Pointer and Wheel Related + Comprehensive Utils |
128-
| Robust? (See [Testing](https://pointeract.consensia.cc/development/testing#monkey-test)) | βœ… | ❌ Element Jerks | ❌ Element Ignores the Second Touch |
129-
| Extensible? | βœ… | ❌ | ❌ |
127+
| Criteria | Pointeract | [Hammer.js](https://hammerjs.github.io) | [Interact.js](https://interactjs.io) |
128+
| :--------------------------------------------------------------------------------------- | :---------------------------------------------------: | :---------------------------------------------: | :--------------------------------------------------: |
129+
| Written in TypeScript? | βœ… | ❌ | βœ… |
130+
| Tree-shakeable? | βœ… | ❌ | ❌ |
131+
| 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) |
132+
| Last Updated | πŸ‘‘ Actively Maintained | 2015 | 2023 |
133+
| Features | Pointer and Wheel Related + Some Utils | Pointer Related | πŸ‘‘ Pointer and Wheel Related + Comprehensive Utils |
134+
| Robust? (See [Testing](https://pointeract.consensia.cc/development/testing#monkey-test)) | βœ… | ❌ Element Jerks | ❌ Element Ignores the Second Touch |
135+
| Extensible? | βœ… | ❌ | ❌ |
130136

131137
## Get Involved
132138

β€Ždocs/en/whats-pointeract.mdβ€Ž

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ Missing your desired interaction? [Write your own module](/development/custom-mo
3131

3232
There're already plenty of interaction libraries out there, most famous ones are `Interact.js` and `Hammer.js`, but Pointeract is different.
3333

34-
| Criteria | Pointeract | [Hammer.js](https://hammerjs.github.io) | [Interact.js](https://interactjs.io) |
35-
| :-------------------------------------------------------- | :---------------------------------------------------: | :----------------------------------------------: | :-------------------------------------------------: |
36-
| Written in TypeScript? | βœ… | ❌ | βœ… |
37-
| Tree-shakeable? | [βœ…](https://bundlephobia.com/package/pointeract) | [❌](https://bundlephobia.com/package/hammerjs) | [❌](https://bundlephobia.com/package/interactjs) |
38-
| Total Bundle Size (Minified + Gzipped) | πŸ‘‘ [3KB](https://bundlephobia.com/package/pointeract) | [7KB](https://bundlephobia.com/package/hammerjs) | [28KB](https://bundlephobia.com/package/interactjs) |
39-
| Last Updated | πŸ‘‘ Actively Maintained | 2015 | 2023 |
40-
| Features | Pointer and Wheel Related + Some Utils | Pointer Related | πŸ‘‘ Pointer and Wheel Related + Comprehensive Utils |
41-
| Robust? (See [Testing](/development/testing#monkey-test)) | βœ… | ❌ Element Jerks | ❌ Element Ignores the Second Touch |
42-
| Extensible? | βœ… | ❌ | ❌ |
34+
| Criteria | Pointeract | [Hammer.js](https://hammerjs.github.io) | [Interact.js](https://interactjs.io) |
35+
| :-------------------------------------------------------- | :---------------------------------------------------: | :---------------------------------------------: | :--------------------------------------------------: |
36+
| Written in TypeScript? | βœ… | ❌ | βœ… |
37+
| Tree-shakeable? | βœ… | ❌ | ❌ |
38+
| 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) |
39+
| Last Updated | πŸ‘‘ Actively Maintained | 2015 | 2023 |
40+
| Features | Pointer and Wheel Related + Some Utils | Pointer Related | πŸ‘‘ Pointer and Wheel Related + Comprehensive Utils |
41+
| Robust? (See [Testing](/development/testing#monkey-test)) | βœ… | ❌ Element Jerks | ❌ Element Ignores the Second Touch |
42+
| Extensible? | βœ… | ❌ | ❌ |
4343

4444
## License
4545

0 commit comments

Comments
Β (0)