{"library":"mongoose-int32","type":"library","category":null,"description":"Mongoose custom type for storing 32-bit signed integers (BSON Type 16) in MongoDB. Current stable version is 0.6.0. Works with Mongoose 4.4+, 5.x, and 6.x. The main purpose is to enforce Int32 representation instead of default 64-bit doubles for fields where exact 32-bit integer storage is required. Key differentiator: it prevents accidental type coercion to 64-bit floats. Release cadence: low, no recent updates.","language":"javascript","status":"active","version":"0.6.0","tags":["javascript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mongoose-int32","imports":["import mongoose from 'mongoose';\nimport { loadType } from 'mongoose-int32';\nloadType(mongoose);\nconst Int32 = mongoose.Types.Int32;","import { loadType } from 'mongoose-int32';\nloadType(mongoose);","const schema = new mongoose.Schema({ myField: mongoose.Types.Int32 });"]},{"cmd":"yarn add mongoose-int32","imports":[]},{"cmd":"pnpm add mongoose-int32","imports":[]}],"homepage":"http://plugins.mongoosejs.io/plugins/int32","github":"git://github.com/vkarpov15/mongoose-int32","docs":null,"changelog":null,"pypi":null,"npm":"mongoose-int32","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}