Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-14T13:49:46.000Z (over 4 years ago)
- Last Synced: 2024-11-28T11:48:59.918Z (about 1 month 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
[![Release](https://img.shields.io/clojars/v/haikunator.svg?style=flat-square)](https://clojars.org/haikunator)
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Fatrox%2Fhaikunatorclj%2Fbadge&style=flat-square)](https://actions-badge.atrox.dev/atrox/haikunatorclj/goto)
[![Coverage Status](https://img.shields.io/codecov/c/github/atrox/haikunatorclj.svg?style=flat-square)](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"```