lukeed / regexparam

A tiny (394B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇‍♂️
MIT License
567 stars 23 forks source link

Feat: Accept custom RegExp patterns #7

Closed lukeed closed 5 years ago

lukeed commented 5 years ago

Accepts a RegExp input as the route's source of truth. While seemingly pointless in the scope of this library on its own, this provides an easier stepping stone for extending custom RegExp support to downstream libraries like Navaid, Trouter, and Polka.

Also, this had a successful Twitter poll 😆