Project

haiku_name

0.0
No commit activity in last 3 years
No release in over 3 years
Generate pleasing random name strings
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

 Project Readme

HaikuName

HaikuName: Generate pleasing random name strings.

For example, crimson-wave-3450, dawn-snowflake-f6f1, or little-morning-65f6.

Installation

Add this line to your application's Gemfile:

gem 'haiku_name'

And then execute:

$ bundle

Or install it yourself as:

$ gem install haiku_name

Usage

HaikuName is not configurable and has 1 method, .generate:

HaikuName.generate # => 'delicate-dust-2a74'
# Configure the token length
HaikuName.generate(8) # => 'still-sun-1a841af9'
# Don't include a token
HaikuName.generate(0) # => 'aged-river'

Configuration

In the interest of saying simple, HaikuName does not currently have word configurations, it just uses internal frozen lists in the code itself. This could evolve to allow config, but should stay simple.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request