Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 681 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 681 Bytes

koa-middleware-sst-typescript

Koa.js middleware for server-side transformation (SST) of TypeScript using Bun.

Development

Prerequisites

  1. Install Bun:
curl -fsSL https://bun.sh/install | bash.

Setup

  1. Install dependencies:
bun install
  1. Run "prepare":
bun run prepare

Serve

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

Workspace

This workspace is setup like a monorepo, but only contains one "library" package (koa-middleware-sst-typescript), and "example" apps.