Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kseo/names_generator
Docker's namesgenerator in Dart
https://github.com/kseo/names_generator
Last synced: 27 days ago
JSON representation
Docker's namesgenerator in Dart
- Host: GitHub
- URL: https://github.com/kseo/names_generator
- Owner: kseo
- License: bsd-3-clause
- Created: 2016-09-30T02:14:32.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-31T07:27:42.000Z (about 8 years ago)
- Last Synced: 2023-08-20T22:35:46.106Z (about 1 year ago)
- Language: Dart
- Homepage: https://pub.dartlang.org/packages/names_generator
- Size: 14.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# names_generator
[![Build Status](https://travis-ci.org/kseo/names_generator.svg?branch=master)](https://travis-ci.org/kseo/names_generator)
Docker's namesgenerator in Dart.
`getRandomName` generates a random name from the list of adjectives and surnames in this package
formatted as "adjective_surname". For example 'focused_turing'. If `retry` is non-zero, a random
integer between 0 and 10 will be added to the end of the name, e.g `focused_turing3`# Examples
```dart
import 'package:names_generator/names_generator.dart';main() {
final name = getRandomName(1);
print(name); // backstabbing_snyder9
}
```