Skip to content

rojo2/mongoose-password

Repository files navigation

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)

About

Mongoose password plugin using @rojo2/password

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published