https://github.com/willybrauner/low-router
low level base routing for nodejs, javascript and typescript
https://github.com/willybrauner/low-router
browserhistory javascript low-level nodejs router typescript
Last synced: 9 months ago
JSON representation
low level base routing for nodejs, javascript and typescript
- Host: GitHub
- URL: https://github.com/willybrauner/low-router
- Owner: willybrauner
- Created: 2023-09-06T20:22:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-26T13:17:57.000Z (11 months ago)
- Last Synced: 2025-04-09T11:05:05.377Z (9 months ago)
- Topics: browserhistory, javascript, low-level, nodejs, router, typescript
- Language: TypeScript
- Homepage:
- Size: 542 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
low-router 🚌
`LowRouter` is a lightweight _(~=2Kb)_, low-level router implementation designed for use in nodejs, javascript or typescript applications. By default, `LowRouter` has no link with the browser history, but this repository provide a `createBrowserHistory` util ready to use. It also includes a `createMatcher` function to convert a route path to a regular expression, but still open to use a custom one.
This repo contains:
- [@wbe/low-router](https://github.com/willybrauner/low-router/tree/main/packages/low-router) - low-router core vanilla
- [@wbe/low-router-preact](https://github.com/willybrauner/low-router/tree/main/packages/low-router-preact) - low-router wrapper for preact
## Credits
© [Willy Brauner](https://willybrauner.com)