SCUA

Packages

64 packages for real tools, apps and games.

Connect to PostgreSQL, sign a login token, read an Excel file, find a path across a map, call a language model. These packages are written and tested by the SCUA team, so you can build something real on the first day without writing the plumbing yourself.

Games 9

@scua/behave0.3.0

Behaviour trees for NPCs and agents: sequences, selectors and decorators, with one tree shared across many agents.

@scua/bump0.2.1

A 2D collision world of axis-aligned rectangles: swept movement with slide, touch, cross and bounce, plus rect, point and segment queries.

@scua/dialogue0.1.0

Branching dialogue: write scenes in .talk files, check them at compile time and run them a step at a time, with saves that survive content patches.

@scua/fsm0.2.2

Finite state machines declared as data: states, guarded events and hooks in one documented order.

@scua/noise0.2.2

Seeded coherent noise for terrain and textures: Perlin, simplex, Worley and fractal fields.

@scua/obj0.2.2

Read and write the OBJ 3D model format, with every problem in a file reported at once.

@scua/pathfind0.2.1

A*, Dijkstra and breadth-first search over weighted tile grids and graphs.

@scua/rating0.1.0

Player skill ratings from match results, for teams, free-for-all and one-on-one, with an uncertainty per player.

@scua/tween0.3.1

Tweens driven by your own time step, with 31 easings, groups and sequences.

Web, auth and services 10

@scua/collab0.1.0

Shared documents people edit together: text, maps and lists that converge, a sync protocol, a relay server, presence and per-user undo.

@scua/hmac0.2.4

Keyed hashing on the core digests: HMAC, HKDF, PBKDF2 and a constant-time compare.

@scua/jobs0.2.3

A scheduler you pump yourself: intervals, one-shots and cron expressions, with retry policies and backoff.

@scua/jwt0.8.0

JSON Web Tokens: sign, verify, encrypt and decrypt, with JWKs and the algorithm-confusion defences on by default.

@scua/oauth20.3.0

An OAuth 2.0 client: authorization code with PKCE, client credentials, refresh with rotation, the device flow, discovery and revocation.

@scua/openapi0.2.3

Read an OpenAPI document and act on it at run time: a client and route binding driven by the spec, with request and response validation.

@scua/otel0.3.2

OpenTelemetry over HTTP: spans, logs and W3C trace context, with the transport passed in.

@scua/pool0.3.0

A bounded, fair resource pool over any open and close pair, with health checks and lifetimes. Ships a PostgreSQL adapter.

@scua/totp0.2.0

Two-factor login codes (TOTP and HOTP): secrets, provisioning URIs and a verifier with a required replay bound.

@scua/web0.6.0

A small HTTP framework: routing, typed path parameters, request and response helpers and hooks, all testable without a server.

AI and agents 6

@scua/agentserve0.6.0

Servers for Model Context Protocol clients: tools, resources and prompts declared as records, with exact errors and safe retries.

@scua/gbt0.1.0

Gradient-boosted decision trees in pure SCUA: training, early stopping, a versioned model format and a fast single-row scorer.

@scua/jsonschema0.2.3

A JSON Schema 2020-12 validator that never drops a constraint silently.

@scua/llm0.15.0

A client for LLM chat APIs with a pure core, so every test runs offline.

@scua/rag0.2.2

Retrieval pieces for LLM apps: separator-aware chunking, a vector store and exact cosine top-k. You bring the embedder.

@scua/tokenizer0.2.3

Byte-pair encoding: train a vocabulary, count tokens exactly and split text to fit a context window.

Databases and cloud 4

@scua/aws0.4.0

AWS Signature Version 4 signing and presigned URLs, with thin clients for S3, SQS, SNS and DynamoDB.

@scua/postgres0.6.0

A PostgreSQL client speaking the wire protocol over TCP or TLS: SCRAM auth, parameterised queries and typed rows.

@scua/redis0.4.0

A Redis client: one command verb, pipelining, TLS, and Redis errors returned as values.

@scua/scua_sqlite0.2.3

A binding for SQLite through the experimental FFI: rows as tables, NULL as nil, BLOB as bytes, every failure a value.

Data, documents and formats 21

@scua/chart0.11.1

Charts as SVG or terminal text: line, area, bar, scatter, histogram, pie, heatmap, box plot, radar and sparklines.

@scua/diff0.3.3

Myers diff over any sequence, unified diffs, patch application and three-way merge.

@scua/fulltext0.3.3

BM25 full-text search over an in-memory index you can update as you go.

@scua/fuzzy0.2.3

Approximate string matching: Levenshtein, Jaro-Winkler, Hamming, token strategies and best-of-a-list.

@scua/geo0.2.4

GeoJSON, great-circle distance, bounding boxes, point-in-polygon and simplification.

@scua/graph0.2.3

Graph structure: topological order that names its cycle, components, spanning forest, max flow and four centralities.

@scua/image0.1.1

Decode, convert, resize and encode PNG, JPEG, GIF, BMP, PNM and TGA images in pure SCUA.

@scua/markdown0.2.2

CommonMark-style markdown: parse to a tree, render to HTML, or override any rule with a hook.

@scua/msgpack0.2.2

MessagePack, the compact binary format, safe on input it did not create.

@scua/pdf0.1.7

Generate PDF invoices and reports from records, with exact money on the page.

@scua/pdfread0.1.0

Read the text out of PDFs page by page, including files strangers upload, under one work budget.

@scua/peg0.1.3

Parsing expression grammars: write a grammar as text and get a parser whose errors give line, column, expected and found.

@scua/soup0.2.2

A forgiving HTML parser with CSS-selector queries.

@scua/stats0.4.0

Descriptive and inferential statistics: quantiles, the normal, t and chi-square distributions, correlation, regression and t-tests.

@scua/survival0.1.0

Time-to-event analysis for retention and churn: Kaplan-Meier, Nelson-Aalen, log-rank tests and Cox regression.

@scua/tabular0.3.2

More for the built-in data table: grouped aggregation, missing-value tools, multi-key sort and merge, and writers.

@scua/tagpack0.1.0

Tagged binary messages from a schema, reading and writing the Protocol Buffers wire format.

@scua/xlsx0.4.1

Read and write real Excel workbooks: sheets, cells, dates and formula results.

@scua/xml0.2.1

Strict XML with namespaces and the commonly used subset of XPath. External entities are impossible, because the package holds no file or network capability.

@scua/yaml0.2.2

Read and write the YAML config files people type by hand, with errors that name the line.

@scua/zip0.9.0

DEFLATE both ways, gzip and zlib wrappers, and .zip archives with AES password protection.

Text, time and small tools 10

@scua/dateparse0.1.4

Permissive date and time parsing, from loose ISO-8601 to "next tuesday", with ambiguity reported.

@scua/iter0.2.1

Iteration and collection helpers: chunk, group_by, sort_by, shuffle and table utilities.

@scua/readable0.1.0

Readable English for numbers, sizes, durations, relative times and lists.

@scua/semver0.1.0

Parse, compare, sort, bump and match semantic versions.

@scua/slug0.1.0

Turn titles into URL-safe slugs: accents folded, truncation at a word boundary, a counter for unique slugs.

@scua/sx0.4.3

A guarded find-and-replace for files: hash-checked, count-limited and byte-faithful.

@scua/term0.2.2

Terminal output as strings: colour and styles, aligned tables, progress bars and a pretty printer.

@scua/tz0.3.1

IANA timezone rules: daylight-saving-aware conversion and arithmetic, with ambiguous local times reported.

@scua/tzdata0.1.3

The IANA time zone database as SCUA source, split by region so a program carries only what it uses.

@scua/uuid0.1.0

Read, convert and compare UUIDs and ULIDs, including version, variant and embedded time.

Testing 4

@scua/faker0.2.1

Seeded fake data for tests and demos: names, emails, addresses, lorem text and template fills.

@scua/proptest0.2.4

Property-based testing: composable generators and shrinking that reports the smallest failing input.

@scua/soak0.6.2

A long-running resource harness: run heavy workloads for minutes and detect memory leaks from collector telemetry.

@scua/vcr0.2.4

Record HTTP once and replay it in tests, with secrets redacted by default.

Safe to install

Installing a package cannot run code on your machine

In many languages a package can run its own script the moment you install it. SCUA's package manager only downloads files and checks them. Nothing in a package runs until your program imports it, and then it runs with the grants you gave your program and no more.

  • You get the version you asked for. Nothing moves to "latest" on its own.
  • Every file is checked against a recorded hash each time your program runs.
  • A package registry is a folder of files, so a team can host its own.
scua.toml what you asked for @scua/jwt >= 0.8.0 Resolve no floating versions the highest minimum that any package in the tree asks for scua.lock exact, and hashed jwt 0.8.0 sha256:41d2… deps/ checked each run jwt hmac jwt needs it Installing only downloads and checks. No package code runs. No install scripts, no plugins, no code in a manifest. A registry is a folder of files, so it can be a directory on a share, a bucket or a CDN, and a mirror cannot change what you get.
From the package you asked for to files on disk: each step is a download or a check.

Names and versions are as of 23 November 2026 and will move. SQLite, PostgreSQL, Redis, AWS, Excel and the Model Context Protocol are trademarks of their owners; these packages are independent and are not affiliated with or endorsed by them.

Tell us which package you need

Say what you are building when you ask for early access.