is-acronym
v1.0.0
Published
Determines whether a given string is a common English acronym.
Downloads
16
Readme
is-acronym
Determines whether a given string is a common English acronym.
Install
This module requires node >= 4
.
npm install --save is-acronym
Usage
const isAcronym = require('is-acronym')
isAcronym('CDN') // true
isAcronym('FPS') // true
isAcronym('cdn') // false
isAcronym('fps') // false
isAcronym(' TEST ') // false
API
isAcronym
Determines whether a given string is a common English acronym.
Type: function (text): boolean
text
string String to test.
Related
- retext-redundant-acronyms - Check for redundant acronyms (ATM machine).
License
MIT © Travis Fischer