Detect repeated letters in a word.
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.eslintrc.js
.gitattributes
.gitignore
.travis.yml
LICENSE.txt
README.md
index.js
package.json
rollup.config.js

README.md

no-repeated-letters

Build Status Dependency Status

Detect repeated letters in a word.

Example

var noRepeatedLetters = require('no-repeated-letters');

noRepeatedLetters('human');
// => true

Installation

$ npm install no-repeated-letters

API

var noRepeatedLetters = require('no-repeated-letters');

noRepeatedLetters(word)

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