Skip to content

Commit 532cef0

Browse files
committed
Project scaffolding — TypeScript, tsup, vitest, minimal base
- package.json with subpath exports (core + base only for now) - tsup build producing ESM .mjs + .d.ts - vitest config with jsdom + PointerEvent polyfill - Minimal source: types, base-recognizer re-export, barrel index - Logo assets (PNG + WebP) - README with project overview
1 parent 3adf3b4 commit 532cef0

13 files changed

Lines changed: 3305 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
docs/
2+
node_modules/
3+
dist/

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<p align="center">
2+
<img src="assets/logo.png" alt="fngr" width="200">
3+
</p>
4+
5+
- **PointerEvent-based** — no legacy Touch/MouseEvent fallbacks
6+
- **TypeScript-first** — fully typed API and gesture events
7+
- **Tree-shakeable** — each recognizer is an independent import
8+
- **Zero dependencies** — no runtime dependencies, ever
9+
- **Framework-agnostic** — works with React, Angular, Vue, Svelte, or vanilla JS
10+
- **SSR-safe** — no top-level DOM access, safe to import in Node
11+
12+
## Gestures
13+
14+
Tap, double-tap, long-press, swipe, pan, pinch, and rotate.
15+
16+
## Status
17+
18+
Under active development. Not yet published to npm.
19+
20+
## License
21+
22+
MIT

assets/logo.png

4.55 MB
Loading

assets/logo.webp

164 KB
Loading

0 commit comments

Comments
 (0)