@soluzioni-futura/deterministic-faker
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @soluzioni-futura/deterministic-faker

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

5.68 kB

Total Files

5

Last publish

Collaborators

  • riccardorispoli
  • giovanni.bruno
  • nico.fuccella
  • vforvalerio87
  • zhoujian26
  • allemonta