0.0.1 • Published 1 year ago
unrouting v0.0.1
📍 unrouting
Making filesystem routing universal
🚧 In development
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-router
routes- radix3/Nitro routes
- SolidStart
- SvelteKit routes
- support scanning FS (with optional watch mode)
- and more
Usage
Install package:
# npm
npm install unrouting
# pnpm
pnpm install unrouting
import {} from 'unrouting'
💻 Development
- Clone this repository
- Enable Corepack using
corepack enable
(usenpm i -g corepack
for Node.js < 16.10) - Install dependencies using
pnpm install
- Run interactive tests using
pnpm dev
License
Made with ❤️
Published under MIT License.