Skip to content

Generate Heroku-like memorable random names to use in your apps or anywhere else.

Notifications You must be signed in to change notification settings

CyrusNuevoDia/haikunator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haikunator Build Status Inline docs

Generate Heroku-like memorable random names to use in your apps or anywhere else.

Installation

Add Haikunator to your mix.exs dependencies:

defp deps do
  [{:haikunator, "~> 1.0.0"}]
end

Then run $ mix deps.get. And also $ mix deps.compile, for kicks.

Usage

Haikunator.build # => "morning-star-6817"

# Token range
Haikunator.build(100) # => "summer-dawn-24"

# Don't include the token
Haikunator.build(0) # => "ancient-frost"

# Use a different delimiter
Haikunator.build(9999, ".") # => "frosty.leaf.8347"

# No token, no delimiter
Haikunator.build(0, "") # => "twilightbreeze"

License

Copyright (c) 2015 Kash Nouroozi

This work is free. You can redistribute it and/or modify it under the terms of the MIT License. See the LICENSE file for more details.

Other Languages

Haikunator is available in other languages. Check them out:

About

Generate Heroku-like memorable random names to use in your apps or anywhere else.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages