# Caravan

> A flexible, transport-based TypeScript-first logging system for JavaScript applications.

- **Website:** https://github.com/carlos-menezes/caravan
- **Pricing:** unknown
- **Categories:** Developer Tools, Data & Analytics
- **Tags:** developer-tools, data-analytics, design
- **Platforms:** Web
- **Last verified:** 2026-09-10
- **Canonical page:** https://linkrena.com/tools/caravan

## About

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.

Every logger needs an id and at least one transport to actually send records somewhere. Log methods exist for each level ( trace , debug , info , warn , error , fatal ) and accept a message, a context object or both.

Context passed to createLogger is merged into every record the logger writes. Child loggers created with inherit pick up the parent's level, transports and context, and can extend the context further without mutating the parent.

A logger can fan a record out to several transports at once. Each transport can define its own level , so it only receives records at or above that level, regardless of the logger's own level.

Middleware runs on every record before it reaches transports, in the order provided, and can transform or drop records (by returning undefined ). Child loggers inherit their parent's middleware. This is useful for redacting sensitive fields, sampling, or enriching records.

## Related tools

- [Restoredrill](https://linkrena.com/tools/restoredrill): Proves your PostgreSQL backups actually restore, before you find out the hard way.
- [Bolnee Chat](https://linkrena.com/tools/bolnee-chat): Chatbot Integration in your Business website.
- [Shrl Io](https://linkrena.com/tools/shrl-io): A privacy-first, high-performance, self-hosted URL shortener and traffic analyzer designed for teams and individuals who want full control over their link data.
- [Pangolin](https://linkrena.com/tools/pangolin): Identity-aware VPN and tunneled reverse proxy for remote access based on WireGuard®.
- [lla.ma Apps](https://linkrena.com/tools/lla-ma-apps): Self-hosted deploy console — your own Vercel.
- [Testate](https://linkrena.com/tools/testate): Git for your test database.
