From netscript init to a running, type-checked, OpenTelemetry-traced backend — services, durable workflows, authentication, and a design-system UI in one workspace.
A Deno-native backend framework where the contract is the product: type-safe services and durable workflows, observable by default, orchestrated with Aspire.
// One preset wires CORS, request logging, OpenAPI JSON, Scalar docs,
// RPC (served at /api/rpc/*), service info, and health endpoints —
// instead of ~40 lines of Hono setup.
import { defineService } from '@netscript/service';
import { router } from './router.ts';
const service = await defineService(router, {
name: 'users',
port: 3000,
});
await service.stop();
# Install the netscript command from JSR
deno install --global --allow-all --name netscript jsr:@netscript/cli@0.0.1-alpha.12
# Scaffold a complete, type-checked workspace.
# Postgres is the default engine; swap --db postgres for mysql, mssql, or sqlite.
netscript init my-app --db postgres
# Prefer to keep .NET Aspire out of the loop? Opt out:
netscript init my-app --db postgres --no-aspire
# Aspire is step 2: it brings up Postgres and Redis first
cd my-app/aspire && aspire start
# Then, in the workspace root, initialize the database
netscript db init
# Open the Aspire dashboard at http://localhost:18888 to see
# every resource, service, trace, and log in one place.
Build real systems, not just CRUD
Who it is for
Full-stack TypeScript engineers
Stay in TypeScript from the database to the UI, with contracts that catch integration breaks before they ship.
Platform engineers
Standardize internal services on one coherent Deno baseline — multi-resource wiring, a real dashboard, pluggable auth, and tracing already in place.
Plugin authors
Extend the framework by registering workers, sagas, triggers, auth backends, and streams. No host edits, no forks.