Skip to content

castodius/wordle-cheat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Wordle is a fun daily word game. This package makes it simple to cheat, it contains a full list of words until the year 2027. Should the word list be updated this package will break immediately.

Installation

@castodius/wordle can be installed globally

npm install @castodius/wordle -g

Alternatively it can be invoked via npx

npx @castodius/wordle

Usage

CLI

The CLI takes one optional argument, the day to get the word for in date format yyyy-MM-dd. If no word is supplied it defaults to today.

Example using globally installed package

wordle-cheat

Example using globally installed package and picking the date

wordle-cheat 2020-02-14

Function

You can use getAnswer to the answer for a Wordle. Example

import { getAnswer } from '@castodius/wordle'

console.log(getAnswer()) // returns the answer for today
console.log(getAnswer('2022-02-14')) // returns the answer for 14th of February 2022

Why?

I was bored.

About

NPM package for getting the answer to wordle for a given day

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published