mongoObject ----------- escapes
. in object keys so you can store objects in MongoDb.
. in object keys so you can store objects in MongoDB.
npm install mongoobject
var mongoobject = ;var objectToSaveInMongo = mongoobject;
var mongoobject = ;var myObject = mongoobject;
You can also escape and unescape just one property name
var escapedPropertyName = mongoobject;var unescapedPropertyName = momgoobject;