{"library":"uuid-mongodb","type":"library","category":null,"description":"uuid-mongodb (v2.6.0) generates and parses BSON UUIDs for MongoDB, providing better performance than string UUIDs. It supports UUID v1 and v4, offers canonical and relaxed JSON serialization modes, and plays nicely with the native MongoDB driver and Mongoose. TypeScript types are included. The library uses the `uuid` package internally and focuses on binary UUIDs (SUBTYPE_UUID) for efficient storage and querying. Release cadence is irregular. Key differentiators: simple API, mode switching for JSON output, and direct integration with MongoDB's Binary type.","language":"javascript","status":"active","version":"2.6.0","tags":["javascript","uuid","mongodb","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install uuid-mongodb","imports":["import MUUID from 'uuid-mongodb'","import MUUID from 'uuid-mongodb'; MUUID.v1()","import MUUID from 'uuid-mongodb'; MUUID.mode('relaxed')"]},{"cmd":"yarn add uuid-mongodb","imports":[]},{"cmd":"pnpm add uuid-mongodb","imports":[]}],"homepage":"https://github.com/cdimascio/uuid-mongodb#readme","github":"https://github.com/cdimascio/uuid-mongodb","docs":null,"changelog":null,"pypi":null,"npm":"uuid-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}