npm install -g endict
dict word
// In the terminal
dict happy
- clear-any-console To clear the console before the output
- cli-color For colorizing the output
- window-size To get the size of the terminal
- word-wrap To word wrap the output
- yargs To parse the arguments
- This cli is not meant for production use. It is a learning tool to know about words and their meanings.
- The dictionary.json file is used from here