user_genrator
v1.1.3
Published
it is library to genrate dummy users for test of mongo db
Downloads
4
Readme
user_genrator
A Node.js package that simplifies generating realistic dummy user data using Mongoose and Faker.js.
Installation
npm install user_genrator
Usage
import createDummyUsers from 'user_genrator'
const mongoUrl = 'YOUR_MONGO_URL';
const numUsers = 10;
createDummyUsers(numUsers, mongoUrl)
.then(() => console.log('Dummy users created successfully!'))
.catch(error => console.error('Error creating dummy users:', error));