- Lists words in languages. Currently there is only Turkish and English.
With npm
npm i @technoeren13/word-list
With yarn
yarn add @technoeren13/word-list
import * as searchWord from "word-list";
const wordList = searchWord.wordListArray("tr" /* or en */);
// Returns Array
const result = searchWord.searchWord("kebap", "tr" /* or en */);
// Returns Array
const result = searchWord.startWith("kebap", "tr" /* or en */);
// Returns Array
const result = searchWord.searchWithLength(4, "tr" /* or en */);
// Returns Array
const result = searchWord.isWordExist("kebap", "tr" /* or en */);
// Returns Boolean