
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
node-wordle
Advanced tools
A few simple functions to make wordle easier to make.
If any issues are found, please open an issue on the Github.
5 letter words are valid as of wordle commit af610646.
getWord(isValid, length)
This function gets a word from the disctionary. If length is 5 (or default) and isValid is true, it will select a word from the valid list of words used by wordle. If isValid is false, it will bick from the invalid list. If the length is not five, it will bick a word from a dictionary. These words have not been checked thoroughly and will contain obscure phrases.
checkGuess(guess, answer)
This function checks the guess of the player with the answer. If there are multiple instances of a letter, the function will work from left to right. It will throw an error if the length of the two words are not the same.
getLog()
Returns the log if it is enabled (see below).
pass settings in using the config function.
logWarnings
If this is true, any warnings wil be stored in a log file and not displayed on the console. You can use getLog() to retrieve the log.
emojis (deprecated)
Toggles between emojis and numbers, automatically switches to responseType in this version.
responseType
Sets the return type for checkGuess. It currently supports these options:
forceValidity
Is an integer between -1 and 1, which decides whether to override the isValid input in getWord(). If it is -1, it will override to always pick from all words. If it is 0, it will not override. If it is 1 it will override to only pick from the valid word list.
FAQs
Functions to help create wordle with node.js
We found that node-wordle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.