mongoose-int32
JSON →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.
Resources
packagemongoose-int32 ↗