Works/KatanaKit
KatanaKit
A framework-agnostic TypeScript service toolkit organised with hexagonal architecture: typed HTTP, validation, caching, reactive signals and authorization — with every framework integration on its own entry point.
SectorOpen source · TypeScript toolkitYear2026RoleDesign and implementationView livesamuraicoder.dev ->View codeView code ->
- The challenge
- Every project re-implemented the same plumbing: HTTP with safe results, validation at the boundary, caching, logging, dates.
- The solution
- One toolkit behind a stable API, hexagonal core with adapters. Optional framework support is a separate package entry point, so a Vue app never pulls React and a server build never pulls the DOM.
- The outcome
- A published ESM library safe to import during SSR, with documentation, guides and an API reference.
The main barrel exports plain helper functions; singleton facades sit underneath for when you want to inject an instance. Adapters cover Astro, Express, Next, Hono, Nuxt, Vue, React and more.
[02] Contact
Got a similar challenge?
Every operation has its quirks. Tell me yours and we'll see what can be simplified.