@castodius/wordle
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i @castodius/wordle

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

25.4 kB

Total Files

7

Last publish

Collaborators

  • castodius