generic-mongodb-services
JSON →Provides a reusable GenericCrudService class that implements common CRUD operations (list, count, exists, create, get, update, patch) for MongoDB collections using the native Node.js MongoDB driver. Version 1.16.0 targets MongoDB driver v3.x (as seen in API docs). It reduces boilerplate by standardizing service-layer database interactions. Notably it uses callbacks/promises (not async/await consistently) and exposes methods like update and patch that directly wrap findOneAndUpdate. Suitable for small to mid-size Node.js APIs wanting to avoid repetitive CRUD code.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada
Resources
packagegeneric-mongodb-services ↗