indefinite
This crate is a port of the JavaScript library indefinite, thanks to the original authors of this library!
Prefix a noun with an indefinite article - a or an - based on whether it begins with a vowel.
Installation
cargo add indefinite
Usage
use indefinite;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
use indefinite_capitalized;
assert_eq!;
assert_eq!;
use indefinite_article_only;
assert_eq!;
assert_eq!;
use indefinite_article_only_capitalized;
assert_eq!;
assert_eq!;