@technoeren/word-list
v0.0.2
Published
Lists words in languages.
Downloads
1
Maintainers
Readme
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