honojs / hono

Web framework built on Web Standards
https://hono.dev
MIT License
18.51k stars 522 forks source link

Utilities for `getPath` #3210

Open ryuapp opened 1 month ago

ryuapp commented 1 month ago

What is the feature you are proposing?

Most path-related issues can be resolved with getPath. However, it is a primitive and requires the use of regular expressions in most case, which may seem unfriendly to people who just want to create a Web API.

Add utils to help users easily solve path issues.

Draft plan

yusukebe commented 1 month ago

Hi @ryuapp

Nice proposing. I also wanted it.