A storage mapper for MongoDB that integrates with the OBJY object-relational mapping framework. Current version 0.0.14 is in early development with infrequent releases. It simplifies MongoDB persistence for OBJY-defined object families by providing a connect-and-use interface. Key differentiators: tightly coupled with OBJY for a unified object mapping experience; minimal configuration; suitable for small projects or prototypes. Note that the package has limited documentation and may not be production-ready.
npm install objy-mapper-mongodbNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define an OBJY object family with MongoDB storage using the mapper, then create and save an object.
Use correct import: require('objy-mapper-mongodb')npm install objy alongside this package.
Check mongodb driver compatibility; may need to update.
Use require() instead of import statements.
Always define the family before creating instances.
Correct the require path to 'objy-mapper-mongodb'.
Use require('objy-mapper-mongodb') to get the constructor.npm install objy and require('objy') before usage.