AndrewBudziszek / whurdal-word-verifier

A package to verify wordle words

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whurdal Word Verifier

(Wordle Word Verifier)

This package was created as a utility to verify valid Wordle words for the better Wordle, Whurdal.

Installtion

Install by running npm i whurdal-word-verifier

Usage

verify(word)

This function verifies words that are valid in the game of Whurdal. Any real word that is 5 characters long will return true. Anything else will return false.

import { verify } from 'whurdal-word-verifier'

verify('apple'); // true - a real word that is 5 characters long
verify('abcde'); // false - not a real word
verify('thanks'); // false - a real word that is too long
verify('part'); //false - a real word that is too short

Support Me

Hi! If you'd like to support me you can buy me a coffee or send me some crypto on Coinbase @SonBrooks. :)

About

A package to verify wordle words


Languages

Language:TypeScript 100.0%