You can use this npm package for genarate fake data of people(Name,Adress,Mobile Number,Email) for your needs of dummy data in project development
- Generate fake Name
- Generate fake Address
- Generate Fake Mobile Number
- Generate Fake Email (seletcted name or random name)
To install the ppackage, follow these steps:
- Open your terminal in project directory
- Run
npm install fake-generator
to install dependencies.
Here are some example for the usage of the fake-data-generator package
const fakeGenerator = require('fake-generator')
console.log(fakeGenerator.getFakeName()) //fake name
console.log(fakeGenerator.getFakeAddress()) // fake address
console.log(fakeGenerator.getFakeMobileNumber()) //fake mobile number
console.log(fakeGenerator.getFakeEmail()) //get fake email for random name
var firsName = "Peter"
var lastName = "Pan"
console.log(fakeGenerator.getFakeEmail(firsName,lastName))// get fake email for give user name
If you'd like to contribute to this project, You can send your pull requests directly. github
This project is licensed under the ISC License.