mongoose-currency
mongoose-currency copied to clipboard
Adds schema type "Currency" to mongoose for handling money. Strips out common characters automatically (",", "$" and alphabet chars)
Please update this, so developers dont have to stick with old versions of Mongoose, and change their code according to deifferent versions of Mongoose.
Hi, Its Rajesh here. I was about to use our package and I noticed that the packages are outdated. I also could not able to import the package into my...
The current version didn't inherit correctly all the prototype from the mongoose.SchemaTypes.Number's prototype because of the deprecated function of util library: inherits.
When executing an update on a record with the $inc call, it doesn't look like the Currency prototype is ever called. Is there a way to catch these too so...
comma and space needed between character sets
I have the following example, which works as expected: ``` /** * Module dependencies. */ var mongoose = require('mongoose'), Schema = mongoose.Schema; // Will add the Currency type to the...