next-typesafe-url
Now with full support for app directory and server components!
Fully typesafe, JSON serializable, and zod validated URL search params, dynamic route params, and routing for NextJS.
Big shoutout to tanstack/router and yesmeck/remix-routes for inspiration and ideas.
Issues
Please open an issue if you find a bug or have a feature request.
You can also DM me on twitter @ethanniser with any questions or concerns.
Contributing
All contributions are welcome! Please open an issue or submit a PR.