no-repeated-letters

Detect repeated letters in a word.

no-repeated-letters

Detect repeated letters in a word.

var noRepeatedLetters = require('no-repeated-letters');
 
noRepeatedLetters('human');
// => true 
$ npm install no-repeated-letters
var noRepeatedLetters = require('no-repeated-letters');

Returns true if every character in String word occurs only once in word. Returns false otherwise.