1.0.0 • Published 6 years ago

is-acronym v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

is-acronym

Determines whether a given string is a common English acronym.

NPM Build Status JavaScript Style Guide

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

Related

License

MIT © Travis Fischer