mongoose-date

1.0.0 • Public • Published

Mongoose Date plugin

Travis CI

const date = require("rojo2-mongoose-date");
const password = require("rojo2-mongoose-password");
const {Schema} = require("mongoose");
 
const UserSchema = new Schema({
  email: {
    type: String,
    unique: true
  }
});
 
UserSchema.plugin(date);
UserSchema.plugin(password);
 

Made with ❤ by ROJO 2 (http://rojo2.com)

Readme

Keywords

none

Package Sidebar

Install

npm i mongoose-date

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • aitormm