{"library":"w-orm-mongodb","type":"library","category":null,"description":"An operator for MongoDB in Node.js, providing a simple ORM-like interface for basic CRUD operations (insert, select, save, delete) with support for MongoDB operators like $and, $or, $gt, $lt, $regex, and more. Current stable version is 1.1.33. The package uses an event-driven change monitoring system and offers both ESM and UMD module formats. It is lightweight and minimal compared to full-featured ORMs like Mongoose, focusing on ease of use for small to medium projects. However, it lacks TypeScript support and comprehensive documentation, and the API uses callbacks/promises with minimal error handling.","language":"javascript","status":"active","version":"1.1.33","tags":["javascript","package","tool","operator","mongodb","ORM","nodejs"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install w-orm-mongodb","imports":["import WOrm from 'w-orm-mongodb'","const WOrm = require('w-orm-mongodb')","const orm = WOrm({ url: '...', db: '...', cl: '...' })\norm.on('change', callback)\norm.insert(data).then(...)\norm.select(query).then(...)\norm.save(data, options).then(...)\norm.del(data).then(...)\norm.delAll().then(...)"]},{"cmd":"yarn add w-orm-mongodb","imports":[]},{"cmd":"pnpm add w-orm-mongodb","imports":[]}],"homepage":"https://github.com/yuda-lyu/w-orm-mongodb#readme","github":"https://github.com/yuda-lyu/w-orm-mongodb","docs":null,"changelog":null,"pypi":null,"npm":"w-orm-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}