import { faker } from "npm:@faker-js/faker"; function createRandomUser() { return { userId: faker.string.uuid(), username: faker.internet.userName(), email: faker.internet.email(), avatar: faker.image.avatar(), password: faker.internet.password(), birthdate: faker.date.birthdate(), registeredAt: faker.date.past(), }; } const result = createRandomUser(); console.log(result);