mongoose-super
Version:
Augments Mongoose.js models with super() to call parent model methods. Augmentation is done in an inherit() function that returns a child model based on a parent model and a child schema.
28 lines (27 loc) • 658 B
JSON
{
"name": "mongoose-super",
"version": "0.0.3",
"description": "Augments Mongoose.js models with super() to call parent model methods. Augmentation is done in an inherit() function that returns a child model based on a parent model and a child schema.",
"repository": {
"type": "git",
"url": "https://github.com/visionscaper/mongoose-super.git"
},
"main": "index.js",
"scripts": {
"test": "node ./test"
},
"keywords": [
"mongoose",
"mongoosjs",
"mongoose.js",
"inherit",
"inheritance",
"extend",
"child",
"model",
"schema",
"super"
],
"author": "Freddy Snijder",
"license": "MIT"
}