| Crates.io | nicknamer |
| lib.rs | nicknamer |
| version | 0.1.0 |
| created_at | 2025-11-21 01:49:08.432846+00 |
| updated_at | 2025-11-21 01:49:08.432846+00 |
| description | A tool for generating alternate names. |
| homepage | https://github.com/gravitrnic/nicknamer |
| repository | https://github.com/gravitrnic/nicknamer |
| max_upload_size | |
| id | 1942956 |
| size | 95,274 |
Simple Rust library to get alternate names/nicknames for a given name.
Vec<String> of lowercase alternates (does not include the input itself).names.csv (no runtime file I/O).use nicknamer::nicknames;
fn main() {
let n = nicknames("Abigail");
// e.g. ["abbe", "abbey", "abbi", "abbie", "abby", "gail", "nabby", ...]
println!("{:?}", n);
}
Build and run with a name argument; outputs a comma-separated list of alternates.
cargo run -- "Abigail"
Example output:
abbe,abbey,abbi,abbie,abby,gail,nabby
The nickname dataset in names.csv is derived from the
carltonnorthern/nicknames project,
which is licensed under the Apache License, Version 2.0.
This project is dual-licensed under either of:
LICENSE-MIT)LICENSE-APACHE)You may choose either license.
Provenance note: Portions of this repository were generated with the help of AI tooling under the direction of the repository maintainer. Review and verify any third‑party data or content included (e.g., names.csv) for suitability in your use case.