About this project
TundraLibs offers a comprehensive collection of independent, dependency-light TypeScript packages designed to work seamlessly across multiple JavaScript runtimes including Deno 2.0+, Bun 1.0+, Node.js 22+, Cloudflare Workers, and web browsers. The library suite covers essential backend development needs through specialized modules:
- **Data & Databases**: `NORM` serves as a typed ORM supporting PostgreSQL, MariaDB, SQLite, MongoDB, and more via `OQL` (Object Query Language). `Drivers` provides connection handlers for SQL, NoSQL, and cache stores like Redis and Memcached.
- **Authentication & Security**: `Pact` handles RBAC, JWT, WebAuthn/FIDO2, and OAuth2/OIDC. `Crypt` offers hashing, encryption, signing, and secure random generation.
- **Observability**: `Slogger` manages structured logging, `Tracer` implements distributed tracing with W3C Trace Context, and `MetroMan` exposes Prometheus-compatible metrics.
- **Infrastructure**: `Doctor` provides lightweight dependency injection; `Cacher` unifies memory, Redis, and Memcached caching; `Cronus` handles scheduled tasks; `Ambient` manages request-scoped context.
- **Networking**: `RadRouter` offers a high-performance HTTP router, `Restler` builds typed API clients, and `RPC` enables WebSocket-based remote procedure calls.
- **Utilities**: `Guardian` ensures schema validation, `ID` generates various unique identifiers, and `Compat` smooths runtime differences.
Each package is published to JSR under the `@tundralibs` scope and can be used individually or combined within frameworks like `Rapid`. Documentation for each component is available in its respective README file.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.