transitive-bullshit / is-acronym

Determines whether a given string is a common English acronym.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Determines whether a given string is a common English acronym.

Type: function (text): boolean

Related

License

MIT © Travis Fischer

About

Determines whether a given string is a common English acronym.


Languages

Language:JavaScript 100.0%