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