Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marocchino/ffaker
elixir porting of https://github.com/ffaker/ffaker
https://github.com/marocchino/ffaker
Last synced: 24 days ago
JSON representation
elixir porting of https://github.com/ffaker/ffaker
- Host: GitHub
- URL: https://github.com/marocchino/ffaker
- Owner: marocchino
- License: mit
- Created: 2016-09-01T07:46:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T01:10:52.000Z (over 7 years ago)
- Last Synced: 2024-04-24T14:10:00.131Z (7 months ago)
- Language: Elixir
- Size: 174 KB
- Stars: 9
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ffaker
[![hex.pm version](https://img.shields.io/hexpm/v/ffaker.svg)](https://hex.pm/packages/ffaker)
[![Build Status](https://travis-ci.org/marocchino/ffaker.svg?branch=master)](https://travis-ci.org/marocchino/ffaker)
[![Coverage Status](https://coveralls.io/repos/github/marocchino/ffaker/badge.svg?branch=master)](https://coveralls.io/github/marocchino/ffaker?branch=master)elixir porting of
## Installation
The package can be installed as:
1. Add `ffaker` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:ffaker, "~> 0.3.0", only: [:test]}]
end
```2. (Optional) Set seed in `test/test_helper.exs`:
```elixir
ExUnit.start()
ExUnit.configure seed: elem(:os.timestamp, 2)
Ffaker.Seed.reset
```## Usage
```elixir
alias Ffaker.En.Name
alias Ffaker.En.InternetName.name #=> "Christophe Bartell"
Internet.email #=> "[email protected]"
```[See more →](https://hexdocs.pm/ffaker/api-reference.html)