An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

low-router 🚌‍



npm
npm bundle size
build


`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)