Faker Elixir (octopus) v0.11.0 FakerElixir.Internet
Generate fake data for the domain Internet
Summary
Functions
Return an email
Return an email with the name given
Return an email with a popular domain for the name given
Return a password given by an user
Return an url
Return an url with https://
Return an user name
Return an user name for the name given
Functions
Return an email
Examples
iex> FakerElixir.Internet.email
"demarcus@ezra.io"
You can set :popular to generate an email with a popular domain
FakerElixir.Internet.email(:popular)
"candelario@gmail.com"
Return an email with the name given
Examples
iex> FakerElixir.Internet.email("Peter Moleski")
"peter.moleski@ethel.net"
Return an email with a popular domain for the name given
Examples
iex> FakerElixir.Internet.email(:popular, "Peter Sobieska")
"peter.sobieska@hotmail.com"
Return a password given by an user
Examples
iex> FakerElixir.Internet.password(:weak)
"robbie"
iex> FakerElixir.Internet.password(:normal)
"francesco6"
iex> FakerElixir.Internet.password(:strong)
"tOu%Mt*B16ueLs!0uA3rDA"
Return an url with https://
Examples
iex> FakerElixir.Internet.url(:safe)
"https://www.stefan-little.org/"