mongoose-data-seed
JSON →Seed MongoDB databases with seed data using Mongoose models. Version 2.1.6 is the latest stable release; the package has had irregular updates with last release in 2020. It provides a CLI (md-seed) to generate and run seeders, supports dropping the database before seeding, and allows ordering of seeders. Compared to alternatives like mongoose-seed, it offers a Seeder class with shouldRun and run methods, and integrates with semantic-release for versioning.
Resources
packagemongoose-data-seed ↗
API endpoints
full doc /v1/registry/mongoose-data-seed