npm.io
1.0.9 • Published 6 years ago

identity-generator

Licence
MIT
Version
1.0.9
Deps
0
Size
4 kB
Vulns
0
Weekly
0

Logo

Identity Generator

Avanced Identity generator tool for Console/Web Applications.
View Source · Report Bug · Request Feature

Contents

About The Project

This is an advanced tool that let you create a random identity based on your Country and gender preferences.
You can choose what to display and you'll have access to the random email too!

Installation

npm install --save identity-generator

Usage

const identity = require ('identity-generator')

identity.generate()
.then(data => {
    console.log(data)
})

This will generate a totally random identity and console.log() the data.
You can choose your preferences:

var country = "italian-italy"
var gender = "female"
identity.generate(country, gender)
.then(data => {
    console.log(data)
})

This will generate an Italian random female identity
NOTE: Every country must contain nationality-country syntax.

You can choose to display just some of the data:

var country = "russian-russia"
var gender = "male"
identity.generate(country, gender)
.then(data => {
    var name = data.name
    var address = data.address
    console.log("Name: " + name + " address: " + address)
})

This will console.log() Just the informations you required.
At the bottom of every identity generated, you will find a link to access the e-mail you received.

Contact

Discord: Silvano#8106 - hirtie.silvano@gmail.com

Project Link: https://github.com/silvanohirtie/identity-generator