honojs / hono

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

Utilities for `getPath` #3210

Open ryuapp opened 4 months ago

ryuapp commented 4 months 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 4 months ago

Hi @ryuapp

Nice proposing. I also wanted it.