Skip to content

This package will gives you random data of user. It can be used for mock data and used for sample data.

Notifications You must be signed in to change notification settings

studyandmasti/pirated-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pirated-Data

Pirated-Data

CodeFactor

Install the package via npm

npm i pirated-data

Data provided for the user are

To use the package's individual function


// For getting first name 
const userData = require('pirated-data');
var startname = userData.firstNameGenerator();


/* For getting last name */
const userData = require('pirated-data');
var lastName =userData.lastNameGenerator();

/* For full name of an user */
const userData = require('pirated-data');
var fulName = userData.fullNameGenerator();


// For getting Age
const userData = require('pirated-data');
var age = userData.adultAgeGenerator();

// For getting mobile number
const userData = require('pirated-data');
var mobnum = userData.mobileNumberGenerator();

// For getting financial card number
const userData = require('pirated-data');
var card = userData.financialCardGenerator();

/* For getting Bank Name */
const userData = require('pirated-data');
 var bnkName = userData.bankNameGenerator();

// For getting AadharCard number
const userData = require('pirated-data');
var aadhar = userData.aadharNumberGenerator();

//For getting email-id
const userData = require('pirated-data');
var eml = userData.emailIdGenerator();

// For getting userId
const userData = require('pirated-data');
var usrId = userData.userId();

// For getting Password
/* pass the value of desired length of password inside the parenthesis. 
It will give you the alphanumeric 
*/
const userData = require('pirated-data');
var pwd = userData.password(10);

/*For getting pancard number */
var id = userData.panCardId();
console.log(id);

/*For getting passport number */
 const passNum = userData.passportNumber();
 console.log(passNum);

/*For getting DL number */
const dl = userData.drivinglicenseGenerator();
console.log(dl);

/* For generating Gendor of an user */
const userData = require('pirated-data');
 var gender = userData.genderGenerator();

/* For generating the state of an user */
const userData = require('pirated-data');
 var state = userData.stateGenerator();

/* For generating a district of an user */
const userData = require('pirated-data');
 var dist = userData.distGenerator();


Pirated-Data also supports generate sets of data

To generate biological details and address use the below functions

/* To generate biological details of an user */
const userData = require('pirated-data');
  var biology = userData.BiologicalData();

/* To generate Address of an user */
const userData = require('pirated-data');
var address = userData.addressGenerator();

/* To generate huge set of biological data */
const userData = require('pirated-data');
const desirednumber = 10;
var bnchBio = userData.hugeBiologicalDataGenerator(desirednumber);
console.log(bnchBio);
It will generate the 10 sets of user data.

/* To generate huge set of Address data */
const userData = require('pirated-data');
const desirednumber = 10;
var bnchAddress = userData.hugeAddressGenerator(desirednumber);
console.log(bnchAddress);

Need More feature


If you want to more feature of this package just create an issue Here.