ABDULLAH AMJAD
ABDULLAH AMJAD
# Description: I have added a simple CLI tool to check the current value of a specified amount of Bitcoin (BTC) in USD. This tool fetches real-time BTC price data...
## Description The win percentage calculation is incorrect. ## Current State: var win_percentage = n_wins / (((n_wins + n_losses) * 100) || 0); This divides wins by (total_games * 100)...
### What is the feature you are proposing? Small cleanup in `Hono.on()` (`src/hono-base.ts`). Route handlers are registered with `handlers.map(...)`, but the return value is unused. The callback only calls `#addRoute`....
### Description `LinearRouter#match()` repeatedly parses parameterized route paths and creates `RegExp` objects during matching. For example: ```ts router.add('GET', '/users/:id{[0-9]+}', handler) ``` `match()` currently does: ```ts const parts = routePath.match(splitPathRe) //...