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.
- Host: GitHub
- URL: https://github.com/kyle-west/worder
- Owner: kyle-west
- Created: 2022-03-19T14:53:02.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-19T15:04:24.000Z (about 3 years ago)
- Last Synced: 2025-01-10T04:24:15.658Z (5 months ago)
- Topics: dictionary, five-letters, wordle
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:
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 RegExpOptions:
-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
```