fake-generator
v1.0.0
Published
fake name,address,mobile numbers,emails generator
Downloads
103
Maintainers
Readme
fake-data-generator
Description
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)
Installation
To install the ppackage, follow these steps:
- Open your terminal in project directory
- Run
npm install fake-generator
to install dependencies.
Usage
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
Contributing
If you'd like to contribute to this project, You can send your pull requests directly. github
License
This project is licensed under the ISC License.