{"library":"vite-plugin-kit-routes","type":"library","category":null,"description":"vite-plugin-kit-routes is a Vite plugin for SvelteKit that generates a typed route helper file ($lib/ROUTES) from your file system routes. It provides autocompletion, type safety, and avoids typos by letting you reference routes via a type-safe route() function. The latest stable version is 1.0.3, released as part of the KitQL ecosystem. It requires SvelteKit ^2.4.0 and Vite ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0. Compared to manual route strings or other route generation tools, it integrates directly as a Vite plugin, generates TypeScript types automatically, and updates the route file on save. Release cadence follows monthly updates alongside other KitQL packages.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","vite","vite-plugin","typescript"],"last_verified":"Mon Apr 27","install":[{"cmd":"npm install vite-plugin-kit-routes","imports":["import { kitRoutes } from 'vite-plugin-kit-routes'","import { route } from '$lib/ROUTES'","import type { Routes } from '$lib/ROUTES'"]},{"cmd":"yarn add vite-plugin-kit-routes","imports":[]},{"cmd":"pnpm add vite-plugin-kit-routes","imports":[]}],"homepage":"https://www.kitql.dev/","github":"https://github.com/jycouet/kitql","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vite-plugin-kit-routes","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}