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