@soluzioni-futura/deterministic-faker
v1.0.2
Published
An extension of faker
Downloads
3
Keywords
Readme
deterministic-faker
An extension of faker
Quick start
Install the package
$ npm i @soluzioni-futura/determistic-faker
Usage
Simple example
import DeterministicFaker from "@soluzioni-futura/determistic-faker"
for (let i = 0; i < 10; i++) {
const df = new DeterministicFaker(i)
const user = {
name: df.faker("name").name.firstName(),
lastname: df.faker("lastname").name.lastName(),
phone: df.faker("phone").phone.phoneNumber()
}
}
Other method example here