Making filesystem routing universal
This library is a work in progress and in active development.
- generic route parsing function with options to cover major filesystem routing patterns
- export capability for framework routers
- RegExp patterns
-
vue-routerroutes - radix3/Nitro routes
- SolidStart
- SvelteKit routes
- support scanning FS (with optional watch mode)
- and more
Install package:
# npm
npm install unrouting
# pnpm
pnpm install unroutingimport {} from 'unrouting'- Clone this repository
- Enable Corepack using
corepack enable(usenpm i -g corepackfor Node.js < 16.10) - Install dependencies using
pnpm install - Run interactive tests using
pnpm dev
Made with ❤️
Published under MIT License.