friendly-names

Simple and lightweight library that creates friendly names using nouns and adjectives

License

License

GroupId

GroupId

com.github.bgalek.utils
ArtifactId

ArtifactId

friendly-names
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

friendly-names
Simple and lightweight library that creates friendly names using nouns and adjectives
Project URL

Project URL

https://github.com/bgalek/friendly-names/
Source Code Management

Source Code Management

https://github.com/bgalek/friendly-names/

Download friendly-names

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Friendly names

Simple and lightweight library that creates friendly names using nouns and adjectives.

Travis (.org) Codecov GitHub Release Date Libraries.io dependency status for GitHub repo Scrutinizer code quality Quality Gate Status

Usage

Add library dependency:

compile "com.github.bgalek.security.utils:friendlynames:1.0.0"

You can use this library generate user-friendly names:

FriendlyNames.defaultDictionary(Locale.forLanguageTag("pl-PL")).random()

honorowa-mariola
FriendlyNames.defaultDictionary().stream().limit(10).forEach(System.out::println)

little-virgie
strong-rachel
military-wes
black-lenard
clear-nelia
important-hans
good-lessie
hard-roxann
real-madelaine
easy-mariela

You can provide your own set of nouns and adjectives

var dictionary = new FriendlyNamesDictionary(Set.of("noun"), Set.of("adjective"))
FriendlyNames.customDictionary(dictionary).random()

noun-adjective

Features

  • infinite stream of name combinations
  • thread safe
  • easy to use/extend

Versions

Version
1.0.0