https://github.com/solar05/exfake
Elixir library for fake data generation.
https://github.com/solar05/exfake
elixir elixir-library fake-data fake-data-generator faker tests
Last synced: about 1 year ago
JSON representation
Elixir library for fake data generation.
- Host: GitHub
- URL: https://github.com/solar05/exfake
- Owner: solar05
- License: mit
- Created: 2023-01-24T22:50:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-08T22:22:32.000Z (over 2 years ago)
- Last Synced: 2025-03-25T13:11:34.154Z (about 1 year ago)
- Topics: elixir, elixir-library, fake-data, fake-data-generator, faker, tests
- Language: Elixir
- Homepage:
- Size: 64.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/solar05/exfake/actions/workflows/elixir.yml)


# Exfake
Elixir library for fake data generation.
## Installation
The package [available in Hex](https://hex.pm/packages/exfake) and can be installed
by adding `exfake` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:exfake, "~> 2.1.0"}
]
end
```
Documentation can be found at [HexDocs.](https://hexdocs.pm/exfake/Exfake.html)
## Usage examples
```elixir
Exfake.zip_code()
"32107-6766"
Exfake.first_name()
"Rosemary"
Exfake.person()
"Luciano Eichmann"
Exfake.phone_number()
"684-126-0269"
Exfake.sentence()
"Event minute view."
Exfake.paragraphs()
"Statement waste mind. Verse sugar answer adjustment behavior. Soup attempt."
Exfake.catch_phrase()
"Re-engineered maximized productivity"
Exfake.company_name()
"Klein, Mueller and Windler"
Exfake.ipv4()
"145.77.91.223"
Exfake.ipv6()
"BCB6:C612:24B1:D067:3B27:B8BC:187A:9CCB"
Exfake.domain()
"www.laboriosam.me"
Exfake.currency()
["Japan Yen", "JPY", "¥"]
Exfake.language_code()
"ne"
```
Other generators are described in [hex documentation.](https://hexdocs.pm/exfake/Exfake.html)