mongoose-unique
This plugin allows you to auto-increment any field on any mongoose schema that you wish.
Usage no npm install needed!
<script type="module">
import mongooseUnique from 'https://cdn.skypack.dev/mongoose-unique';
</script>
This plugin allows you to auto-increment any field on any mongoose schema that you wish.
<script type="module">
import mongooseUnique from 'https://cdn.skypack.dev/mongoose-unique';
</script>