0.1.9 • Published 4 years ago

fakee v0.1.9

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Faker

A Package That Will Generate Any Fake Data For You

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

0.1.9

4 years ago

0.1.8

4 years ago