Skip to content
sigilcoPublic

About

TypeScript utilities with blazing-fast performance

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

cutils

TypeScript utilities for chttp apps, authored in the scriptc-compilable subset and shipped as packages that compile to native ELF binaries.

License CI

Packages

Package What it does
@cutils/sqlite Embedded SQLite: Database/Stmt/Transaction with a Standard-Schema row seam, vendored amalgamation + C shim, compiles into the ELF
@cutils/postgres Postgres wire driver over node:net + node:crypto (SCRAM-SHA-256, txns, LISTEN/NOTIFY), no FFI
@cutils/mongo MongoDB wire driver (OP_MSG + BSON, SCRAM-SHA-1/256, txns), no FFI
@cutils/cache LRU + TTL in-process cache with lru-cache parity semantics

What it does

  • Ships @cutils/* and @chttp/* packages whose sources stay inside the scriptc subset, so scriptc build lowers your app — utilities included — into one static binary.
  • Uses the Standard-Schema seam (schema["~standard"].validate) wherever a package needs user-typed data: @chttp/val, valibot, or any conforming validator plugs in.
  • Zero runtime dependencies per package; the docs site, tests, and CI mirror the chttp monorepo setup.

Development

pnpm install
pnpm -r build
pnpm -r test
pnpm docs:build

See CONTRIBUTING.md for the change-intent workflow and RELEASING.md for the release process.

About

TypeScript utilities with blazing-fast performance

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Contributors

Languages