drizzle-audit
JSON →Configurable audit logging for Drizzle ORM (v0.1.12). Provides automatic CRUD audit interception, custom action logging, scoped tracking with duration, and field-level transforms (redact, mask, hash, omit). Supports PostgreSQL, SQLite, and MySQL with pluggable storage (same DB, external DB, webhook, MongoDB). Integrates with frameworks (Hono, Elysia, Express, etc.) and workers (BullMQ, Temporal). Features AsyncLocalStorage context propagation, transaction awareness, and skip-on-noop. Zero-config start, progressive enhancement, and strict TypeScript. Active development with weekly releases.
Resources
packagedrizzle-audit ↗