@carlos-duran/mongoose-password

Plugin that adds a bcryptjs password field to a mongoose schema.

Usage no npm install needed!

<script type="module">
  import carlosDuranMongoosePassword from 'https://cdn.skypack.dev/@carlos-duran/mongoose-password';
</script>

README

mongoose-password

Plugin that adds a bcryptjs password field to a mongoose schema.