fakerlize
v2.0.0
Published
Generate random sequelize model objects using faker
Downloads
990
Maintainers
Readme
Fakerlize
Examples
const { createFake } = require('fakerlize')
const myModel = require('./Model')
const data = await createFake(myModel, {
status: 'pending',
})
const fakerlize = require('fakerlize')
const myModel = require('./Model')
const createMyModel = fakerlize(myModel)
const data = createMyModel({
status: 'pending',
})