It adds createdBy and updatedBy properties to the schema.
npm install mongoose-useraudit-plugin
- Add to a Mongoose schema.
userSchema.plugin(require('mongoose-useraudit-plugin'));
## License
Mongoose User Audit Plugin is released under the MIT license.