@bleushan/pathtern

4.1.0 • Public • Published

@bleushan/pathtern

About

For now, this is an exercise in providing a url routing function similar to switchPath while enabling some more extra stuff.

Usage

Mainly this with a few differences. Have a look at the tests.

TODO List

  • [x] Add basic support for switchPath style routing
  • [ ] Add support for ambiguous matches
  • [ ] Add support typed dynamic routes
  • [ ] Add queryString support
  • [ ] Add support for array of routes lookup
  • [ ] Add support nested for routes

Readme

Keywords

Package Sidebar

Install

npm i @bleushan/pathtern

Weekly Downloads

3

Version

4.1.0

License

MIT

Unpacked Size

23.9 kB

Total Files

20

Last publish

Collaborators

  • bleushan