A flexible, transport-based TypeScript-first logging system for JavaScript applications.
// momentum
+1★ since featured on SilentStars (2026-08-30)
featured in
- Edition #10 new featured on Bluesky · shipped a new release · new commits
// why it's here
- Gone quiet with work still open: a good moment to lend a hand
- Built almost entirely by one person
// how to help
// readme
/ˈkærəvæn/
A small, typed logging library for JavaScript applications. Caravan gives you a core logger with levels, context and pluggable transports, plus a set of transport packages for where the logs actually go.
Packages
@caravan-logger/logger: the core logger. Handles levels, context inheritance and dispatching records to transports.@caravan-logger/transport-stream: a transport that writes log records to a Node.js or webWritableStream, optionally formatting records before they’re written.@caravan-logger/transport-datadog: a transport that sends log records to Datadog’s Logs API.@caravan-logger/transport-better-stack: a transport that sends log records to Better Stack’s Logs ingesting API.