Vanilla TS HTTP Route Handler

How to correctly add route handlers in a vanilla TypeScript project that uses http.createServer with a manual switch/case router — without introducing Express Router or Next.js patterns.

ichichuang Updated 0 repo stars

File contents

ichichuang/hermes-old/tree/main/sidecars/openspace/src/OpenSpace/showcase/skills/vanilla-ts-http-route-handler commit 71a990b2f1

Frequently asked questions

npx skillmds@latest add ichichuang/vanilla-ts-http-route-handler