is-isogram

1.2.4 • Public • Published

is-isogram

Latest Version Build Status

Test whether a word or phrase is an isogram (a word or phrase without a repeating letter).

Installation

$ npm install is-isogram --save

Usage

var isIsogram = require('is-isogram');
 
// Test whether letters repeat in a word:
 
isIsogram('sandwich');
// -> true
 
isIsogram('wedding');
// -> false
 
 
// Also supports phrases, ignoring spacing:
 
isIsogram('quick on the draw');
// -> true
 
isIsogram('flipped turned upside down');
// -> false

Readme

Keywords

Package Sidebar

Install

npm i is-isogram

Weekly Downloads

13

Version

1.2.4

License

MIT

Unpacked Size

3.2 kB

Total Files

5

Last publish

Collaborators

  • banterability