mongoose-schema

creates various schema from mongoose's own schema

Usage no npm install needed!

<script type="module">
  import mongooseSchema from 'https://cdn.skypack.dev/mongoose-schema';
</script>

README

mongoose-schema

mongoose-schema provides SchemaGenerator classes to create different json schemas from Mongoose's schema. Currently the following shemas are supported: