const dummy = require('mongoose-dummy');
I want replace this package to its similar one in my code, its dependent module mpath and uuid creating issue. Is there any alternative package.
CodePudding user response:
You could use the mongoose-data-faker package to generate random data based on your Mongoose schema.
Another alternative is to use the faker package to generate data.