Skip to content

Fast and simple duplicate word finder in vanilla JavaScript

Notifications You must be signed in to change notification settings

faarez/duplicate-word-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Fast & Simple Duplicate Word Finder

You can use the UI or only the checkDuplicate function from functions directory.

Features

  • Takes array of words to check as one of options in parameter
  • returns array of objects with word and count(how many times it was found)
  • You can pass minimum length of word as an option || Default is 1
  • You can pass minium count of word as an option || Default is 1

checkDuplicate Function Usage

let options = {
    wordsArray: words, //pass your array of words here
    minlength: 5, // minimum length of the words
    minCount: 1, // minimum number of times the word was repeated
}

let result = checkDuplicate(options); // returns array of objects

About

Fast and simple duplicate word finder in vanilla JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published