From 7b62892002f8607d814c90be4a47adff18cd3dd7 Mon Sep 17 00:00:00 2001
From: saifmohamedsv
+
@@ -63,10 +64,26 @@ What sets hookli apart from similar libraries (including [usehooks-ts](https://u
- **Zero runtime dependencies** — not just "small deps," literally none besides React.
- **SSR-safe by convention** — every hook guards browser APIs; safe in Next.js and Remix.
+- **AI-ready docs** — every hook is published as Markdown for LLMs ([`/llms.txt`](https://hookli.vercel.app/llms.txt), [`/llms-full.txt`](https://hookli.vercel.app/llms-full.txt)) with a **Copy for AI** button on each page.
- **Manifest-driven docs** — README, hook count, and the docs site all derive from one source of truth.
- **Live demos on the real package** — the docs import from npm, not a fork or snapshot.
- **Every hook tested** — colocated vitest tests and a CI gate on every PR.
+### hookli vs usehooks-ts
+
+| | hookli | usehooks-ts |
+| ---------------------------------------- | :---------------: | :----------------: |
+| Hooks | **65** | ~33 |
+| Runtime dependencies | **0** | `lodash.debounce` |
+| Written in TypeScript | ✅ | ✅ |
+| Tree-shakable (ESM) | ✅ | ✅ |
+| SSR-safe | ✅ | ✅ |
+| AI-ready docs (`llms.txt` + Copy for AI) | ✅ | — |
+| Live demos run the published npm build | ✅ | — |
+| License | ISC | MIT |
+
+Counts as of September 2026 (usehooks-ts v3.1.1). Both are solid — pick what fits your project.
+
The library is designed to be as minimal as possible. It is fully **tree-shakable** (via the
ESM build), meaning you only ship the hooks you import and the rest is removed from your
bundle — the cost of adding hookli is negligible. Every hook is **typed** and **SSR-safe**,
@@ -87,6 +104,8 @@ function Component() {
## 🪝 Available hooks
> 📚 Full docs with a **page per hook** and **live demos**:
+
@@ -61,10 +62,26 @@ What sets hookli apart from similar libraries (including [usehooks-ts](https://u
- **Zero runtime dependencies** — not just "small deps," literally none besides React.
- **SSR-safe by convention** — every hook guards browser APIs; safe in Next.js and Remix.
+- **AI-ready docs** — every hook is published as Markdown for LLMs ([`/llms.txt`](https://hookli.vercel.app/llms.txt), [`/llms-full.txt`](https://hookli.vercel.app/llms-full.txt)) with a **Copy for AI** button on each page.
- **Manifest-driven docs** — README, hook count, and the docs site all derive from one source of truth.
- **Live demos on the real package** — the docs import from npm, not a fork or snapshot.
- **Every hook tested** — colocated vitest tests and a CI gate on every PR.
+### hookli vs usehooks-ts
+
+| | hookli | usehooks-ts |
+| ---------------------------------------- | :---------------: | :----------------: |
+| Hooks | **65** | ~33 |
+| Runtime dependencies | **0** | `lodash.debounce` |
+| Written in TypeScript | ✅ | ✅ |
+| Tree-shakable (ESM) | ✅ | ✅ |
+| SSR-safe | ✅ | ✅ |
+| AI-ready docs (`llms.txt` + Copy for AI) | ✅ | — |
+| Live demos run the published npm build | ✅ | — |
+| License | ISC | MIT |
+
+Counts as of September 2026 (usehooks-ts v3.1.1). Both are solid — pick what fits your project.
+
The library is designed to be as minimal as possible. It is fully **tree-shakable** (via the
ESM build), meaning you only ship the hooks you import and the rest is removed from your
bundle — the cost of adding hookli is negligible. Every hook is **typed** and **SSR-safe**,
@@ -85,6 +102,8 @@ function Component() {
## 🪝 Available hooks
> 📚 Full docs with a **page per hook** and **live demos**: