Sha256: fdd47f21baf0e73a9956ba776437f5c0b11e505a1c6116874a571f67e8c5eabc
Contents?: true
Size: 344 Bytes
Versions: 4
Compression:
Stored size: 344 Bytes
Contents
import { name } from "faker/locale/en"; /** * Generate random user data to emulate a database real content * @returns {Object} - An object representing user data */ const generateUserData = () => { return { name: `${name.firstName()} ${name.lastName()}`, nickname: `@${name.findName()}`, }; }; export default generateUserData;
Version data entries
4 entries across 4 versions & 1 rubygems