0.0.2 • Published 11 months ago

@technoeren/word-list v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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)