A class-based ES6 ODM (Object Document Mapper) for Mongo-like databases (currently supports MongoDB and NeDB). Current stable version is 0.12.5, last updated in 2019. The project has low release cadence and is mostly in maintenance mode. Key differentiators: it enforces ES6 classes for schema definition, supports multiple backends including the embedded NeDB (like SQLite for MongoDB), and uses native Promises. Alternatives: Mongoose (more popular and actively maintained) or NeDB directly. Not recommended for new projects due to lack of maintenance.
npm install camoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows connecting to a database, defining a Document subclass, creating/saving a document, and querying.
Consider migrating to Mongoose or NeDB directly.
Use MongoDB backend for production.
Always await connect() at the start of your application.
Use Node >= 4 or transpile with Babel.
Add await connect() before using any Document methods.
Use import { Document } from 'camo'.Check username/password in connection string.