1.0.1 • Published 6 years ago

fake-profile v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

FakeProfile

A Javascript for generate some basic information without external dependency

How to use

  const fakeProfile = require('fake-profile')
  const result = fakeProfile(options)
  
  /*{ firstName: 'Đỗ',
    lastName: 'Thanh Long',
    gender: 'male',
    birthday: '10-04-1999',
    email: 'dothanhlong861798@gmail.com',
    password: 'wyhIDaQM' }*/

Fake Profile accepts options:

  • birthdayFormat: 'dd-mm-yyyy',
  • gender: '',
  • minAge: 10,
  • maxAge: 60,
  • region: 'vn',
  • emailDomain: 'gmail.com',
  • passwordLength: 8