import { faker } from '@faker-js/faker'  
  
const numberOfThings = faker.number.int({ min: 1, max: 10 })  
  
// then you can use that number to generate an array of things:  
const things = Array.from({ length: numberOfThings }, () => {  
	// create your thing...  
})