
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
wordle-wordlist
Advanced tools
easy way to fetch wordle's wordlist
First install the module:
npm i wordle-wordlist
Import the module
var wordlist = require("wordle-wordlist")
Access the latest wordlist:
wordlist.guesses()
wordlist.answers()
wordlist.all()
NOTE: ALL FUNCTIONS RETURN PROMISES!!!
MAKE SURE TO USE A PROMISE OR await
EXAMPLE USAGE:
var wordlist = require("wordle-wordlist")
var allowedGuesses;
wordlist.guesses().then((words) => {
allowedGuesses = words;
}).catch((e) => {
console.log(e)
})
console.log(allowedGuesses) //array of words in alphabetical order
Example with async/await
var wordlist = require("wordle-wordlist")
async function go() {
var allowedGuesses = await wordlist.guesses()
console.log(allowedGuesses) //array of words in alphabetical order
}
well don't worry, you can use the cache wordlist.
I will try to keep it up to date, but no guarantees.
var wordlist = require("wordle-wordlist")
var guessesOnly = wordlist.cache.guesses
var answersOnly = wordlist.cache.answers
var allWords = wordlist.cache.all
FAQs
An easy way to fetch wordle's wordlist!
The npm package wordle-wordlist receives a total of 12 weekly downloads. As such, wordle-wordlist popularity was classified as not popular.
We found that wordle-wordlist demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.