Skip to content

emadbaqeri/fakeData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faker

A Package That Will Generate Any Fake Data For You



Fakee


GitHub

Installation

npm install faker_emad

Usage

const fakeData = require('fakeData');
const users = fakeData(1, {
    firstname: true,
    emails: true,
}); /*  returns -> 
    [
        {firstname: 'someone', emails: "someone@test.com"}
    ]
    */

APIs

  • users - will generate you users
  • firstname - will generate you firstname
  • lastname - will generate you lastname
  • emails - will generate you emails
  • username - will generate you username
  • phone - will generate you phone number
  • location - will generate you location with longitude and latitude
  • bithdate - will generate you birthdate

More Examples

const fakeData = require('fakeData');

const firstname = fakeData.firstname(5);
const lastname = fakeData.lastname(5);
const emails = fakeData.emails(5);
const username = fakeData.username(5);
const phone = fakeData.phone(5);
const location = fakeData.location(5);
const birthdate = fakeData.birthdate(5);

Contributing

This package is under development and I would be glad if you share your idea with me and add any line of your idea with the code that you write in this package Any changes would be appreciated -Emad Baqeri

Maintainers

About

A Package that will generate fake user data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published