Jarred Sumner@jarredsumner.com16 Feb 2025In the next version of Bun Bun.serve() gets a simple builtin router.3369
Jarred Sumner@jarredsumner.comBun.serve()'s TypeScript types automatically infer route params from the route path.16/2/25, 4:39 pm·0 reposts·20 likes
Jarred Sumner@jarredsumner.com16 Feb 2025Routes accept a `BunRequest` which extends `Request` to add `params`. We probably will add more properties to `BunRequest` in the future.111