A fast radix tree router.
@mapl/router supports two basic patterns:
'/*/info' // Capture the value of a segment
'/**' // Capture everything after the slashThese links mentioned below only works on Github.
See jit.ts for jit compilation usage.
You can view example compiler outputs in snapshots.
For jitless examples see:
- regexp.ts: A RegExp router based on
@mapl/routertree structure. - tree.ts: A jitless tree router based on
@mapl/routertree structure.
See routers guide for routers benchmarking.