nodeonly-user
Some generic methods, statics and virtuals used for user schemas
Installation
$ npm install nodeonly-user
or include it in package.json
Usage
var mongoose = var userPlugin = var UserSchema = name: type: String default: '' email: type: String default: '' username: type: String default: '' hashed_password: type: String default: '' salt: type: String default: '' UserSchema mongoose
License
MIT