{"repo":"kilicdev/kilic.db","free":true,"listed":false,"github":"https://github.com/kilicdev/kilic.db","clone":"git clone https://github.com/kilicdev/kilic.db.git","description":"Zero-boilerplate MongoDB wrapper. Configure once, use everywhere. Singleton-based, race condition proof, and fully typed.","language":"TypeScript","stars":26,"topics":["database","db","mongodb","mongoose","nosql","orm","singleton","wrapper","zero-boilerplate","kilic"],"license":"MIT","category":"databases-storage","readme_excerpt":"kilic.db Tiny MongoDB commands for Node.js projects. Configure once. Query everywhere. Keep the API small. Keep MongoDB powerful. --- Overview kilic.db is a compact command layer over Mongoose. It gives everyday database work a clean shape while keeping native MongoDB/Mongoose escape hatches nearby. Why You want kilic.db gives you --- --- One database setup db.config() once, then use it anywhere Clear create/update semantics create() inserts once, update() changes existing data Small surface area A focused command set instead of a giant wrapper Safe defaults Write methods reject empty filters and empty payloads Real MongoDB power First-class aggregate() plus raw db.model() TypeScript without ceremony Generic return types where they matter Install Node.js 20.19.0 or newer is required. mongoose , archiver , and mongodb-memory-server-core are optional dependencies installed with kilic.db by default. If your package manager skips optional dependencies, install them explicitly or reinstall with optional dependencies enabled. Configure config() starts the connection in the background. Mongoose buffers commands while the connection is opening. No MongoDB server? Use local mode, or omit config entirely. kilic.db starts a local one-node mongodb-memory-server-core replica set, loads the .kd data file into MongoDB, and writes changes back to the same file after kilic.db write commands: If file is omitted, kilic.db creates /datas.kd . If db.config() is never called, the first command use","default_branch":null,"files":null,"tree":[],"storefront":"/r/kilicdev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kilicdev/kilic.db/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}