eddeee888/route-codegen
Code generator for routes. Handle internal and external routing for react-router, Next.js and Node.js
This tool helps web developers manage all the navigation paths (routes) in their web applications from a single configuration file. You provide a list of your app's internal and external routes, and it generates TypeScript code, including functions, hooks, and components, to safely build URLs and link between pages. It's designed for front-end developers working on web applications built with React Router or Next.js.
No commits in the last 6 months. Available on npm.
Use this if you are a web developer who wants to ensure all internal and external links in your React or Next.js application are correctly typed, generated, and updated consistently, reducing errors when route patterns change.
Not ideal if you are not developing a web application using React Router or Next.js, or if you prefer to manually manage all route definitions and URL generation without code automation.
Stars
22
Forks
—
Language
TypeScript
License
MIT
Category
Last pushed
Jan 07, 2023
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/eddeee888/route-codegen"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
Dav1dde/glad
Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
Aleph-Alpha/ts-rs
Generate TypeScript bindings from Rust types
apollographql/apollo-tooling
✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
mmcloughlin/avo
Generate x86 Assembly with Go
krzysztofzablocki/Sourcery
Meta-programming for Swift, stop writing boilerplate code.