0.0.1 • Published 13 years ago
usstates v0.0.1
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 usstatesUse
$ usstates ohio
>> abasement
>> abatement
>> abbeys
...usstates writes to stdout so you can pipe it into other utils.
$ usstates ohio | grep ^ma | lessState names with spaces
Spaces will be stripped from state names automatically. The folling commands are equivalent:
$ usstates 'new york'
$ usstates new york
$ usstates newyorkCase
usstates is case insensitive. The folling commands are equivalent:
$ usstates new york
$ usstates New york
$ usstates new York
$ usstates New York
$ usstates NEW YORK
...etcOptions
-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 maine0.0.1
13 years ago