{"library":"mongodb-collection-model","type":"library","category":null,"description":"A data model for MongoDB collection metadata used in the MongoDB Compass ecosystem. Version 5.35.0 provides TypeScript types and supports both ESM and CJS. It models collection properties like indexes, document count, storage size, and validation schema, and is primarily used to represent collection information retrieved from MongoDB servers. Released as part of the mongodb-js Compass packages, it follows the Compass release cadence. Unlike the MongoDB Node.js driver's collection object, this library focuses on serializable metadata with helper methods for UI display.","language":"javascript","status":"active","version":"5.35.0","tags":["javascript","mongodb-js","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongodb-collection-model","imports":["import CollectionModel from 'mongodb-collection-model'","import { CollectionModelOptions } from 'mongodb-collection-model'","import { CollectionModel } from 'mongodb-collection-model'"]},{"cmd":"yarn add mongodb-collection-model","imports":[]},{"cmd":"pnpm add mongodb-collection-model","imports":[]}],"homepage":"https://github.com/mongodb-js/compass","github":"https://github.com/mongodb-js/compass","docs":null,"changelog":null,"pypi":null,"npm":"mongodb-collection-model","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}