usstates
v0.0.1
Published
Find words which have no letters in common with a US state
Downloads
3
Readme
usstates
Find words which have no letters in common with a US state.
Ohio is the only US state which shares no letters with the word mackerel.
This project is my solution to finding other words which share this quality.
Installation
$ npm install -g usstates
Use
$ usstates ohio
>> abasement
>> abatement
>> abbeys
...
usstates
writes to stdout
so you can pipe it into other utils.
$ usstates ohio | grep ^ma | less
State names with spaces
Spaces will be stripped from state names automatically. The folling commands are equivalent:
$ usstates 'new york'
$ usstates new york
$ usstates newyork
Case
usstates
is case insensitive. The folling commands are equivalent:
$ usstates new york
$ usstates New york
$ usstates new York
$ usstates New York
$ usstates NEW YORK
...etc
Options
-h, --help
Display help information
-V, --version
Display version information
-w, --words
By default usstates
will use the provided wordlist.
This can be overriden with the words
flag:
$ usstates --words path/to/words.txt wyoming
$ usstates -w /usr/share/dict/words maine