UNPKG

mongoose-bcrypt

Version:

Mongoose plugin encrypting field(s) with bcrypt and providing methods to verify

9 lines (8 loc) 213 B
import { Schema } from 'mongoose'; type Options = { rounds?: number; fields?: string[]; field?: string; }; declare const _default: (schema: Schema, options?: Options) => void; export default _default;