JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 25111
  • Score
    100M100P100Q136229F
  • License MIT

Radix tree based router

Package Exports

  • radix-router

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (radix-router) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Radix Router

(Not complete yet!)

A simple router implemented using a Radix Tree (aka compact Prefix Tree).

Todo:

  • Allow routes to be specified in constructor
  • Add support for wild card matching (/path/**)
  • Allow for placeholders to be matched (/path/:match)