FunWithFlags: a feature toggle library for Elixir with web GUI Que - Elixir Job Processing with Mnesia

FakerElixir - FakerElixir generates fake data for you.

We just released version 1.0.0 🎉🎉

About

FakerElixir is an Elixir package that generates fake data for you. Whether you need to seed your database, create factories for your project, FakerElixir is here for you

Generate fake unique emails

# Create stream to generate fake unique emails
stream = Stream.repeatedly(fn ->

  FakerElixir.Helper.unique!(:unique_emails, fn -> 
    FakerElixir.Internet.email(:popular) 
  end)

end)

# Grab 400 unique emails
emails = 
  stream |> Enum.take(400)

Seed your database with a pre-defined cycle

iex(1)> FakerElixir.Helper.cycle(:zombies, ["Peter", "Audrey", "Laurent"])
"Peter"
iex(2)> FakerElixir.Helper.cycle(:zombies, ["Peter", "Audrey", "Laurent"])
"Audrey"
iex(3)> FakerElixir.Helper.cycle(:zombies, ["Peter", "Audrey", "Laurent"])
"Laurent"
iex(4)> FakerElixir.Helper.cycle(:zombies, ["Peter", "Audrey", "Laurent"])
"Peter"

… and all the basics

FakerElixir.Number.between(11.22, 13.88) # 11.24
FakerElixir.Internet.url(:safe) # "https://www.stefan-little.org/"
FakerElixir.File.extension(:audio) # "mp3"
FakerElixir.Commerce.sku # "4OY026FR"
FakerElixir.Bank.credit_card_type # "MasterCard"
FakerElixir.Date.backward(1) # "2016-08-18 05:58:04Z"

Don’t be shy to contribute, report a bug, improve the code :)

https://github.com/GesJeremie/faker-elixir