fakegen-data
v1.0.8
Published
fake data generator in both languages english and arabic
Downloads
15
Maintainers
Readme
fakeGen-data
About
Generate fake (but realistic) data for testing and development.
Install
npm install fakegen-data
Usage
const {fakeGen} = require('fakegen-data')
const name= fakeGen.firstName()
console.log(name)
const {fakeGenAR} = require('fakegen-data')
const name= fakeGenAR.firstName() //generate arabic firstname
console.log(name)
Methods
For generating random data in latin alphabet
- fakeGen
- id
- firstName
- lastName
- fullName
- job
- address
- city
- country
- zipCode
- location (this generates an object {city,country,zipcode})
- company
- products
- boolean
for generating random data in arabic
- fakeGenAR
- id
- firstName
- lastName
- fullName
- job
- address
- city
- country
- zipCode
- location
- company
- products
- boolean