# insomnia-plugin-fake

Insomnia plugin to create fake data

Install insomnia rest client from https://insomnia.rest/download

For Mac `brew install --cask insomnia`

### Credits

- Fake data generation using https://fakerjs.dev/
- Date/Time formatting using https://day.js.org/
- [Dice SVG Vector](https://www.svgrepo.com/svg/186569/dice) by [svgrepo](https://www.svgrepo.com/)

---

## How to install

> Goto: `Insomnia Preferences -> Plugins`

### npm package name: `insomnia-plugin-fake`

![Step 1](https://raw.githubusercontent.com/suru33/insomnia-plugin-fake/master/img/image-1.png)

### Enable the plugin

![Step 2](https://raw.githubusercontent.com/suru33/insomnia-plugin-fake/master/img/image-2.png)

### `Ctrl+Space` for auto-completion in the request body

![Step 3](https://raw.githubusercontent.com/suru33/insomnia-plugin-fake/master/img/image-3.png)

> Some fake data... Happy testing the APIs 😃

```json
{
  "array": [
    "West African Lion",
    "salmon",
    "#cc2889",
    "Asia/Kamchatka",
    "+358 7 8690 3118",
    "W",
    "West",
    "787.86",
    "0x8EAB75ADB366CD84F9CCF6A2D2E66BD5BF7D7FEF06ADCBACAF9DB63BBB61EDCF",
    "2023-01-02T21:03:23.878",
    "1673045823",
    "00:FF:AMAM",
    "03629 Little Ways",
    "Quia praesentium esse nostrum omnis voluptate."
  ]
}
```

### For more tag options Click on any tag

For example to change the date format

![Step 3](https://raw.githubusercontent.com/suru33/insomnia-plugin-fake/master/img/image-4.png)

## Available keys are:

### Fake Address

- Building Number
- Latitude
- Longitude
- Address Line 1
- Address Line 2
- Full Address
- Street Name

### Random Address

- Cardinal Direction
- City Name
- Country Name
- Country Code ISO-2
- Country Code ISO-3
- Direction
- USA State

### Random Address Time Zone

- Africa
- Antarctica
- Asia
- Europe
- North America
- Oceania
- South America

### Fake Address Zip Code

- For all countries with formatting

### Random Animal

- Bear
- Bird
- Cat
- Cetacean
- Cow
- Crocodile
- Dog
- Fish
- Horse
- Insect
- Lion
- Rabbit
- Rodent
- Snake
- Type

### Random Color

- Hex
- Name

### Random Commerce

- Department
- Product Short Name
- Product Description
- Product Material
- Product Name

### Fake Company

- Name
- Suffix
- Catch Phrase
- BS

### Random Computer

- Cron
- Directory Path
- File Ext
- File Name
- File Path
- File Type
- Mime Type
- Semver

### Random Database

- Engine
- MongoDB Object Id
- Data Type
- Column Name

### Random Number

### Random Boolean

### Random Hexadecimal

- Lower
- Upper

### Random String

- Lower
- Upper
- Mixed

### Random UUID

### Date Time Now

### Random Date Time With in Days

- Recent
- Soon

### Random Date Time With in Years

- Past
- Future

### Random Employment

- Job Area
- Job Descriptor
- Job Title
- Job Type

### Fake Finance

- Account Name
- BIC
- BIC with Branch
- Bitcoin Address
- Litecoin Address
- Credit Card CVV
- Credit Card Issuer
- Currency Code
- Currency Name
- Currency Symbol
- Ethereum Address
- Credit Card PIN 4 Digits
- Credit Card PIN 6 Digits
- Routing Number
- Transaction Description
- Transaction Type

### Fake Bank Account Number

### Fake IBAN

- All IBAN supported countries with format

### Random Image URLs

- Abstract Art
- Animals
- Avatar
- Business
- Cats
- City
- SVG Data URI
- Fashion
- Food
- Image
- Nature
- Nightlife
- People
- Sports
- Technics
- Transport

### Fake Internet

- Domain Name
- Email
- Example Email
- Mac Address
- URL
- User Name

### Random Internet

- Domain Word
- Emoji
- Http Method
- Http Status Code
- IPv4
- IPv6
- Password
- User Agent

### Random Lorem

- Lines
- Paragraph
- Paragraphs
- Sentence
- Sentences
- Slug
- Text
- Word
- Words

### Random Music

- Genre
- Song Name

### Random Name

- firstName
- middleName
- lastName
- fullName
- prefix
- suffix
- Male
- Female

### Fake Phone IMEI

### Fake Phone Number

- All countries with formats

### Random Science

- Element
- Element Symbol
- Measuring Unit
- Measuring Unit Symbol

### Fake Vehicle

- Bicycle
- Fuel
- Manufacturer
- Model
- Type
- Name
- VIN (Vehicle Identification Number)
- VRM (Vehicle Registration Number)

### Random Word

- Adjective
- Adverb
- Conjunction
- Interjection
- Noun
- Preposition
- Verb
