I just released OpenAudit — a Node.js auditing library that works out of the box with popular databases like PostgreSQL, MySQL, MongoDB, SQLite, and even flat files.
🔧 Features:
- Pluggable adapter system (write your own!)
- Built-in support for: PostgreSQL, MySQL2, MongoDB, SQLite, File
- Easy to use:
logEvent(actor, action, entity, metadata) - Fully typed with TypeScript
- Vitest-tested with unit + integration coverage
- CLI and example project included
📦 NPM: @arcari/open-audit
💻 GitHub: github.com/tomaslachmann/open-audit
📁 Example project: /example folder in the repo
🧪 Works great with Vitest, Docker, and TypeORM or Prisma
Looking for feedback or feature ideas! I’d love to hear if this is useful for your backend or compliance needs.
Top comments (0)