How to use the default function from chance
Find comprehensive JavaScript chance.default code examples handpicked from public code repositorys.
12 13 14 15 16 17 18 19 20 21
}; Object.defineProperty(exports, "__esModule", { value: true }); const client_1 = require("@prisma/client"); const chance_1 = __importDefault(require("chance")); const prisma = new client_1.PrismaClient(); const chance = new chance_1.default(); function seed() { return __awaiter(this, void 0, void 0, function* () { const user = { id: 1,
0
0
0
+ 2 other calls in file
chance.word is the most popular function in chance (344 examples)