mongoose-schema-extend : mongoose schema inheritance and discriminator key extension. You can installing mongoose-schema-extend npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install mongoose-schema-extend $ sudo npm install -g mongoose-schema-extend
If want to update the mongoose-schema-extend package execute the command as below,
$ sudo npm update mongoose-schema-extend
Update package globally,
$ npm install -g mongoose-schema-extend
$ sudo git clone https://github.com/rektide/mongoose-schema-extend.git
$ sudo npm install -g ./mongoose-schema-extend
mongoose-schema-extend@0.2.2 /usr/lib/node_modules/mongoose-schema-extend
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall mongoose-schema-extend
Package Name | mongoose-schema-extend |
Version | 0.2.2 |
Description | mongoose schema inheritance and discriminator key extension |
Released Date | 2016-02-13T00:18:35.312Z |
Published by | sieira |
How to Learn | https://www.npmjs.com/package/mongoose-schema-extend/tutorial |