https://github.com/atrox/haikunatorclj
Generate Heroku-like random names to use in your clojure applications.
https://github.com/atrox/haikunatorclj
clojure haikunator heroku
Last synced: 4 months ago
JSON representation
Generate Heroku-like random names to use in your clojure applications.
- Host: GitHub
- URL: https://github.com/atrox/haikunatorclj
- Owner: Atrox
- License: mit
- Created: 2020-04-14T13:22:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T13:49:46.000Z (over 5 years ago)
- Last Synced: 2025-02-01T04:44:49.934Z (6 months ago)
- Topics: clojure, haikunator, heroku
- Language: Clojure
- Homepage: https://clojars.org/haikunator
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Haikunator Clojure
[](https://clojars.org/haikunator)
[](https://actions-badge.atrox.dev/atrox/haikunatorclj/goto)
[](https://codecov.io/gh/atrox/haikunatorclj)Generate Heroku-like random names to use in your clojure applications.
## Usage
```clojure
(ns test
(:require [haikunator :refer [haikunate]]))(haikunate)
; => "lucky-mode-0284"(haikunate {:token-length 6})
; => "purple-dream-251709"(haikunate {:token-chars "HAIKUNATE"})
; => "sparkling-hat-IATI"(haikunate {:token-length 0})
; => "sparkling-bread"(haikunate {:delimiter "."})
; => "tight.poetry.7673"(haikunate {:token-length 0 :delimiter " "})
; => "lingering bar"(haikunate {:token-length 0 :delimiter ""})
; => "floralcredit"```