Koa.js middleware for server-side transformation (SST) of TypeScript using Bun.
- Install Bun:
curl -fsSL https://bun.sh/install | bash.
- Install dependencies:
bun install
- Run "prepare":
bun run prepare
To serve any of the example apps, cd into the directory, then run bun run start
.
eg, to run the "hello-world" example app
cd ./apps/hello-world
bun run start
This workspace is setup like a monorepo, but only contains one "library" package (koa-middleware-sst-typescript
), and "example" apps.