Lib para Javascript para gerar dados para testes.

https://fakerjs.dev/api/

Popular usage:

Numbers:

  • int: faker.number.int()
  • float: faker.number.float()
  • random: faker.number.random()
  • between: faker.number.between(start, end)

Text:

  • sentence: faker.text.sentence()
  • paragraph: faker.text.paragraph()
  • word: faker.text.word()

Person:

  • name: faker.person.name()
  • username: faker.person.username()
  • password: faker.person.password()

Address:

  • city: faker.address.city()
  • country: faker.address.country()
  • postcode: faker.address.postcode()

Date and Time:

  • past_date: faker.date_time.past_date(start_date="-30d")
  • future_date: faker.date_time.future_date(end_date="+30d")
  • between_dates: faker.date_time.between_dates(start_date="-30d", end_date="+30d")

Internet:

  • email: faker.internet.email()
  • domain_name: faker.internet.domain_name()
  • url: faker.internet.url()

Company:

  • name:faker.company.name()