@scratchwork/server-core
v0.3.0
Published
Platform-neutral Scratchwork publishing server core.
Readme
@scratchwork/server-core
The platform-neutral core of the
Scratchwork publishing server:
auth, routing, and the storage contracts (PrimitiveDb, ObjectStorage)
that deploy targets implement. Written with
Effect.
You normally consume it through a deploy package rather than directly:
@scratchwork/server-deploy-aws— AWS Lambda + S3/DynamoDB@scratchwork/server-deploy-cloudflare— Cloudflare Worker + R2/D1@scratchwork/server-deploy-local— local Bun server
import { makeApp } from "@scratchwork/server-core";
import { PrimitiveDb } from "@scratchwork/server-core/db";
import { ObjectStorage } from "@scratchwork/server-core/storage";Published as built ESM JavaScript with type declarations; works under Node ≥ 22
or Bun. See the repo's
server/README.md for the deploy-your-own walkthrough. MIT license.
