{"library":"stx-router","type":"library","category":null,"description":"STX Router is a file-based routing solution specifically designed for the Stacks.js full-stack framework. It facilitates automatic discovery of `.stx` templates, enables nested layouts, offers typed route parameters for enhanced developer experience and compile-time safety, supports middleware for request processing, and provides robust client-side SPA navigation. As of version 0.2.12, the package is in active pre-1.0 development, integrating seamlessly into the Stacks.js ecosystem which leverages TypeScript and Bun for performance and type-safety. The project generally follows a convention-over-configuration philosophy, aiming for rapid application development. Its current release cadence is frequent, indicating ongoing feature development and potential for breaking changes between minor versions as it approaches a stable 1.0 release.","language":"javascript","status":"active","version":"0.2.12","tags":["javascript","router","file-based","middleware","typed-routes","nested-layouts","spa","bun","stx","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install stx-router","imports":["import { createRouter } from '@stacksjs/router'","import { defineMiddleware } from '@stacksjs/router'","import type { RouteContext } from '@stacksjs/router'"]},{"cmd":"yarn add stx-router","imports":[]},{"cmd":"pnpm add stx-router","imports":[]}],"homepage":null,"github":"https://github.com/stacksjs/stx","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/stx-router","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/stx-router/compatibility"}}