Noble Programming Mantra
Publish your own packages to the world's most popular software ecosystem with npm Pro.Get started »

@rojo2/mongoose-password

1.1.1 • Public • Published

Mongoose Password plugin

Travis CI

Mongoose password plugin using @rojo2/password

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

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

Install

npm i @rojo2/mongoose-password

DownloadsWeekly Downloads

6

Version

1.1.1

License

MIT

Unpacked Size

54.7 kB

Total Files

12

Last publish

Collaborators

  • avatar
  • avatar