Install the package via npm
npm i pirated-data
- First name
- Last name
- Age
- Mobile number
- Aadhar number ( unique identification number)
- Email-id
- User Id
- Password
- PanCard ID
- Passport Number
- Driving license number
- Financial card
- Person's Biological Data
- Address
// 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();
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);
If you want to more feature of this package just create an issue Here.