indefinite

Prefix a noun with an indefinite article - a or an - based on whether it begins with a vowel

MIT License

Downloads
683.3K
Stars
56
Committers
6
indefinite - v2.5.1 Latest Release

Published by tandrewnichols 8 months ago

I haven't done this in a while. This release generates the browser dist bundle for v2.5.0, which does not happen automatically at this point.

indefinite - v2.5.0

Published by tandrewnichols 8 months ago

This release adds "honoree" to the list of irregular words (and updates some dependency vulnerabilities).

indefinite - v2.4.3

Published by tandrewnichols over 1 year ago

This release fixes vulnerabilities in dependencies.

indefinite - v2.4.2

Published by tandrewnichols about 2 years ago

This release updates the irregular checker logic to account specifically for the word "red" which by a combination of edge-cases gets formatted incorrectly.

indefinite - v2.4.1

Published by tandrewnichols about 4 years ago

This release updates dependencies to alleviate some security vulnerabilities. N.B. however that this module has no production dependencies so any vulnerabilities listed by github are development only code. Furthermore, all vulnerabilities in development code are in transient dependencies not directly used by this module.

indefinite - v2.4.0

Published by tandrewnichols about 4 years ago

This release adds support for single letter irregulars and upgrades some dependencies to remove vulnerabilities.

indefinite - v2.3.2

Published by tandrewnichols over 4 years ago

Document how to handle plurals.

indefinite - v2.3.1

Published by tandrewnichols almost 5 years ago

This release adds "Utah" to the list of irregular words.

indefinite - v2.3.0

Published by tandrewnichols about 5 years ago

This release adds support for returning only the article (via @mrseanryan).

indefinite - v2.2.2

Published by tandrewnichols about 5 years ago

This release adds the irregular words "euro" and "urologist."

indefinite - v2.2.1

Published by tandrewnichols almost 6 years ago

Add the word "user" to the list of irregular words.

indefinite - v2.2.0

Published by tandrewnichols about 6 years ago

Add support for numbers

indefinite - v2.1.1

Published by tandrewnichols over 6 years ago

This release updates the documentation for using indefinite in the browser and adds the engines field to package.json.

indefinite - v2.1.0

Published by tandrewnichols over 6 years ago

This release adds a browser target to package.json for bundling tools like rollup and webpack, as well as changing the output in dist to UMD format.

indefinite - v2.0.4

Published by tandrewnichols almost 7 years ago

This release fixes acronyms that start with consonants that are pronounced like vowels (F, H, L, M, N, R, S, and X).

indefinite - v2.0.2

Published by tandrewnichols almost 7 years ago

This release adds an irregular words list and attempts to return the correct article in cases where the normal article would be incorrect based on pronunciation.

indefinite - v2.0.1

Published by tandrewnichols almost 7 years ago

This release rebuilds dist files, which I forgot to do in 2.0.0. ☹️

indefinite - v2.0.0

Published by tandrewnichols almost 7 years ago

This release adds acronym checking to attempt to prevent incorrect article selection for words beginning with "u" where that "u" is pronounced long.

indefinite - v1.0.1

Published by tandrewnichols about 9 years ago

  • Adds client side tests via karma
  • Adds the ability to capitalize the article by passing true as the second parameter