https://github.com/kkuegler/human-readable-ids-java
Generate human-readable id strings in Java
https://github.com/kkuegler/human-readable-ids-java
ids java
Last synced: 2 months ago
JSON representation
Generate human-readable id strings in Java
- Host: GitHub
- URL: https://github.com/kkuegler/human-readable-ids-java
- Owner: kkuegler
- License: apache-2.0
- Created: 2019-03-02T01:09:19.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T20:02:49.000Z (over 1 year ago)
- Last Synced: 2024-11-02T10:52:07.368Z (9 months ago)
- Topics: ids, java
- Language: Java
- Homepage:
- Size: 32.2 KB
- Stars: 7
- Watchers: 4
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
human-readable-ids-java
=======================A Java id generator to produce random human-readable identifiers like 'fast-elephant-42'
Maven
-----
```xmlcom.github.kkuegler
human-readable-ids-java
0.3```
Use
---
```java
// create the generator once and use it any number of times, even concurrently across threads
HumanReadableIdGenerator idGen = new PermutationBasedHumanReadableIdGenerator();
String id = idGen.generate();
```Acknowledgments
---------------
This project is based on the idea and word lists of [human-readable-ids.js](https://git.coolaj86.com/coolaj86/human-readable-ids.js)