Home > Back-end >  which package can be an alternative for mongooes dummy
which package can be an alternative for mongooes dummy

Time:08-04

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.

  • Related