Seven cool JavaScript libraries You should know about

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A curated overview of seven focused JavaScript/TypeScript libraries worth adding to your toolkit: Knip for finding dead code, Nuqs for URL state management in React, ts-pattern for exhaustive type-safe pattern matching, Orval for generating typed API clients from OpenAPI specs, Zod for runtime schema validation, Biome as a fast ESLint+Prettier replacement, and Ofetch as a lightweight fetch wrapper. Each entry covers the core use case, practical code examples, trade-offs, and migration tips where relevant. The post also shows how Orval, Zod, and Ofetch can be combined into a fully typed, auto-generated API layer.

18m read timeFrom neciudan.dev
Post cover image
Table of contents
Knip 🔗Nuqs 🔗ts-pattern 🔗Orval 🔗Zod 🔗Biome 🔗Ofetch 🔗
3 Comments

Sort: