Skip to content

oclockvn/indefinite-article.js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Overview

indefinite-article.js is a JavaScript function that returns the indefinite articles "a" or "an" based on a given word or phrase. The code is a port from the Lingua::EN::Inflect Perl module found on this stackoverflow question

#Credit

indefinite-article.js was developed by @rigoneri

#Usage

// get letter
indefiniteArticle.letter('note'); // => 'a'  
// get word
indefiniteArticle.word('note'); // => 'a note';

About

JavaScript function that returns the indefinite articles "a" or "an" based on a given word or phrase.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 89.2%
  • HTML 10.8%