# identity-generator

> Generate random identity for your node.js application

Latest version **1.0.9** (published 2020-05-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install identity-generator
pnpm add identity-generator
yarn add identity-generator
bun add identity-generator
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.9 |
| Published | 2020-05-22 |
| First published | 2020-05-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Silvano Hirtie |
| Maintainers | silvano |

## Links

- npm: https://www.npmjs.com/package/identity-generator
- npm.io page: https://npm.io/package/identity-generator

## Recent versions

- 1.0.9 (latest) — 2020-05-22
- 1.0.8 — 2020-05-22
- 1.0.7 — 2020-05-22
- 1.0.6 — 2020-05-22
- 1.0.5 — 2020-05-22
- 1.0.4 — 2020-05-22
- 1.0.3 — 2020-05-22
- 1.0.2 — 2020-05-22

## README

<!-- PROJECT LOGO -->
<br />
<p align="center">
  <a href="https://www.npmjs.com/package/identity-generator">
    <img width="100px" height="98px"src="https://i.imgur.com/IHK2wO1.png" alt="Logo">
  </a>

  <h3 align="center">Identity Generator</h3>

  <p align="center">
    Avanced Identity generator tool for Console/Web Applications.
    <br />
    <a href="https://github.com/silvanohirtie/identity-generator/blob/master/server.ts">View Source</a>
    ·
    <a href="https://github.com/silvanohirtie/identity-generator/issues">Report Bug</a>
    ·
    <a href="https://github.com/silvanohirtie/identity-generator/issues">Request Feature</a>
  </p>
</p>



<!-- TABLE OF CONTENTS -->
## Contents

* [About the Project](#about-the-project)
* [Installation](#installation)
* [Usage](#usage)


<!-- ABOUT THE PROJECT -->
## 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 -->
## Installation
`npm install --save identity-generator`

<!-- Usage -->
## Usage
```js
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:  
```js
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:  
```js
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 -->
## Contact

Discord: Silvano#8106 - hirtie.silvano@gmail.com

Project Link: [https://github.com/silvanohirtie/identity-generator](https://github.com/silvanohirtie/identity-generator)

---
_Source: https://npm.io/package/identity-generator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
