1.1.10 • Published 2 years ago

foobar.js v1.1.10

Weekly downloads
-
License
(MIT)
Repository
github
Last release
2 years ago

foobar.js

Random fake data generator for test and development purposes.

Installation

npm i foobar.js

Adding Module

const foobar = require('foobar.js');

Usage

let fname = foobar.firstName('female');
let lname = foobar.lastName();

Functions

exampleDescription
.firstName(param)generates random with blank parameter or gender specific names by placing 'male' or 'female' as parameters
.lastname()generates lastname
.phoneNumber(param)can generate random phone number with blank parameter or region specific phone number based on location i.e. 'US', 'PH'
.country()generates random country
.province(param)can generate specific state by puting variable from .country() e.g. .province(variable) as its parameter or leave it blank for random province/state like so .province(), another use case is to put the .country() to .province() parameter like so .province(foobar.country())
1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago