unrouting
v0.0.1
Published
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![bundle][bundle-src]][bundle-href] [![Codecov][codecov-src]][codecov-href] [![License][license-src]][license-href] [![JSDocs][jsdocs-src]][jsdo
Downloads
971
Readme
📍 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
- [x] Nuxt
- [ ] unplugin-vue-router
- [ ] export capability for framework routers
- [x] 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.