Slire: A Minimal Repository Layer for Node.js + MongoDB/Firestore
Slire is a minimal repository layer library for Node.js that provides a type-safe abstraction over MongoDB and Firestore. It automatically handles common data access patterns like multi-tenancy scoping, soft deletes, timestamps, versioning, and audit trails without abstracting away the native database drivers. The library encourages explicit dependencies through narrow port functions rather than global repositories, supports complex operations via helper methods that maintain consistency guarantees, and aims to reduce boilerplate while preserving full access to native driver capabilities for advanced queries and aggregations.