/router

A router written in JS that uses a tree structure. Supports regex within segments.

Primary LanguageJavaScriptMIT LicenseMIT

A rewrite from my previous implementation of routing using a tree structure. I wanted to clean up the project, and remove some feature-bloat.

I intend to update this to support method-specific routes, like you're familiar with from express.

Also need to add tests.