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.0Behaviour trees for NPCs and agents: sequences, selectors and decorators, with one tree shared across many agents.
@scua/bump0.2.1A 2D collision world of axis-aligned rectangles: swept movement with slide, touch, cross and bounce, plus rect, point and segment queries.
@scua/dialogue0.1.0Branching 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.2Finite state machines declared as data: states, guarded events and hooks in one documented order.
@scua/noise0.2.2Seeded coherent noise for terrain and textures: Perlin, simplex, Worley and fractal fields.
@scua/obj0.2.2Read and write the OBJ 3D model format, with every problem in a file reported at once.
@scua/pathfind0.2.1A*, Dijkstra and breadth-first search over weighted tile grids and graphs.
@scua/rating0.1.0Player skill ratings from match results, for teams, free-for-all and one-on-one, with an uncertainty per player.
@scua/tween0.3.1Tweens driven by your own time step, with 31 easings, groups and sequences.
Web, auth and services 10
@scua/collab0.1.0Shared documents people edit together: text, maps and lists that converge, a sync protocol, a relay server, presence and per-user undo.
@scua/hmac0.2.4Keyed hashing on the core digests: HMAC, HKDF, PBKDF2 and a constant-time compare.
@scua/jobs0.2.3A scheduler you pump yourself: intervals, one-shots and cron expressions, with retry policies and backoff.
@scua/jwt0.8.0JSON Web Tokens: sign, verify, encrypt and decrypt, with JWKs and the algorithm-confusion defences on by default.
@scua/oauth20.3.0An OAuth 2.0 client: authorization code with PKCE, client credentials, refresh with rotation, the device flow, discovery and revocation.
@scua/openapi0.2.3Read 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.2OpenTelemetry over HTTP: spans, logs and W3C trace context, with the transport passed in.
@scua/pool0.3.0A bounded, fair resource pool over any open and close pair, with health checks and lifetimes. Ships a PostgreSQL adapter.
@scua/totp0.2.0Two-factor login codes (TOTP and HOTP): secrets, provisioning URIs and a verifier with a required replay bound.
@scua/web0.6.0A 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.0Servers for Model Context Protocol clients: tools, resources and prompts declared as records, with exact errors and safe retries.
@scua/gbt0.1.0Gradient-boosted decision trees in pure SCUA: training, early stopping, a versioned model format and a fast single-row scorer.
@scua/jsonschema0.2.3A JSON Schema 2020-12 validator that never drops a constraint silently.
@scua/llm0.15.0A client for LLM chat APIs with a pure core, so every test runs offline.
@scua/rag0.2.2Retrieval pieces for LLM apps: separator-aware chunking, a vector store and exact cosine top-k. You bring the embedder.
@scua/tokenizer0.2.3Byte-pair encoding: train a vocabulary, count tokens exactly and split text to fit a context window.
Databases and cloud 4
@scua/aws0.4.0AWS Signature Version 4 signing and presigned URLs, with thin clients for S3, SQS, SNS and DynamoDB.
@scua/postgres0.6.0A PostgreSQL client speaking the wire protocol over TCP or TLS: SCRAM auth, parameterised queries and typed rows.
@scua/redis0.4.0A Redis client: one command verb, pipelining, TLS, and Redis errors returned as values.
@scua/scua_sqlite0.2.3A 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.1Charts as SVG or terminal text: line, area, bar, scatter, histogram, pie, heatmap, box plot, radar and sparklines.
@scua/diff0.3.3Myers diff over any sequence, unified diffs, patch application and three-way merge.
@scua/fulltext0.3.3BM25 full-text search over an in-memory index you can update as you go.
@scua/fuzzy0.2.3Approximate string matching: Levenshtein, Jaro-Winkler, Hamming, token strategies and best-of-a-list.
@scua/geo0.2.4GeoJSON, great-circle distance, bounding boxes, point-in-polygon and simplification.
@scua/graph0.2.3Graph structure: topological order that names its cycle, components, spanning forest, max flow and four centralities.
@scua/image0.1.1Decode, convert, resize and encode PNG, JPEG, GIF, BMP, PNM and TGA images in pure SCUA.
@scua/markdown0.2.2CommonMark-style markdown: parse to a tree, render to HTML, or override any rule with a hook.
@scua/msgpack0.2.2MessagePack, the compact binary format, safe on input it did not create.
@scua/pdf0.1.7Generate PDF invoices and reports from records, with exact money on the page.
@scua/pdfread0.1.0Read the text out of PDFs page by page, including files strangers upload, under one work budget.
@scua/peg0.1.3Parsing expression grammars: write a grammar as text and get a parser whose errors give line, column, expected and found.
@scua/soup0.2.2A forgiving HTML parser with CSS-selector queries.
@scua/stats0.4.0Descriptive and inferential statistics: quantiles, the normal, t and chi-square distributions, correlation, regression and t-tests.
@scua/survival0.1.0Time-to-event analysis for retention and churn: Kaplan-Meier, Nelson-Aalen, log-rank tests and Cox regression.
@scua/tabular0.3.2More for the built-in data table: grouped aggregation, missing-value tools, multi-key sort and merge, and writers.
@scua/tagpack0.1.0Tagged binary messages from a schema, reading and writing the Protocol Buffers wire format.
@scua/xlsx0.4.1Read and write real Excel workbooks: sheets, cells, dates and formula results.
@scua/xml0.2.1Strict 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.2Read and write the YAML config files people type by hand, with errors that name the line.
@scua/zip0.9.0DEFLATE both ways, gzip and zlib wrappers, and .zip archives with AES password protection.
Text, time and small tools 10
@scua/dateparse0.1.4Permissive date and time parsing, from loose ISO-8601 to "next tuesday", with ambiguity reported.
@scua/iter0.2.1Iteration and collection helpers: chunk, group_by, sort_by, shuffle and table utilities.
@scua/readable0.1.0Readable English for numbers, sizes, durations, relative times and lists.
@scua/semver0.1.0Parse, compare, sort, bump and match semantic versions.
@scua/slug0.1.0Turn titles into URL-safe slugs: accents folded, truncation at a word boundary, a counter for unique slugs.
@scua/sx0.4.3A guarded find-and-replace for files: hash-checked, count-limited and byte-faithful.
@scua/term0.2.2Terminal output as strings: colour and styles, aligned tables, progress bars and a pretty printer.
@scua/tz0.3.1IANA timezone rules: daylight-saving-aware conversion and arithmetic, with ambiguous local times reported.
@scua/tzdata0.1.3The IANA time zone database as SCUA source, split by region so a program carries only what it uses.
@scua/uuid0.1.0Read, convert and compare UUIDs and ULIDs, including version, variant and embedded time.
Testing 4
@scua/faker0.2.1Seeded fake data for tests and demos: names, emails, addresses, lorem text and template fills.
@scua/proptest0.2.4Property-based testing: composable generators and shrinking that reports the smallest failing input.
@scua/soak0.6.2A long-running resource harness: run heavy workloads for minutes and detect memory leaks from collector telemetry.
@scua/vcr0.2.4Record 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.
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.