Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 943 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 943 Bytes

word-list

  • Lists words in languages. Currently there is only Turkish and English.

Installation

With npm
npm i @technoeren13/word-list

With yarn
yarn add @technoeren13/word-list

Usage

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

Information

Languages: Turkish, English

  • English words are from here (274926 words/perhaps)
  • Turkish words are from here (63840 words/perhaps)