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 - low-router core vanilla
- @wbe/low-router-preact - low-router wrapper for preact