An open API service indexing awesome lists of open source software.

https://github.com/kyle-west/worder

Just a little help with Wordle. Basically a fast searchable dictionary CLI for 5 letter words.
https://github.com/kyle-west/worder

dictionary five-letters wordle

Last synced: 3 months ago
JSON representation

Just a little help with Wordle. Basically a fast searchable dictionary CLI for 5 letter words.

Awesome Lists containing this project

README

        

# `worder` CLI for querying the dictionary for 5 letter words

Install with npm

```
npm install -g kyle-west/worder
```

Say you got this far, and you want to see what your options are:

AUDIO|BOATS

At this point you could run `worder` for a little help. To say _I want a word where the second and third letters are "OA" that contains a "T" and an "S", but no "U", "D", "I", or "B"_ you could use this command:

```
worder search _OA__ --yes TS --no UDIB
```

Which would give you this as output to help you guess the word:

```js
[
'coast', 'coats',
'goats', 'hoast',
'moats', 'roast',
'toast'
]
```

## Complete `worder search` API

```
Usage: worder search [options] [pattern]

List all the words that match with the given pattern

Arguments:
pattern String Pattern. Examples: "T__ST" or a RegExp

Options:
-y, --yes what characters SHOULD appear in the word?
-n, --no what characters should NOT appear in the word?
-s, --startsWith what characters does the word start with?
-e, --endsWith what characters does the word end with?
-h, --help display help for command
```