- node.js
- npm
- unix/linux*
Has not been tested on windows, some features such as installing as global command, shorthand of ./dict.js etc. might not work on windows.
git clone "https://github.com/tarunvelli/node-dict.git"
cd node-dict
npm install
WORDNIK_API_KEY=xxxxx
Recommended for testing
./dict.js syn word
For permanent use, installs the script as a global command to execute from any dir in the terminal with the command "node-dict"
to link
sudo npm link
to run
node-dict syn word
Should be in the node-dict directory
node dict syn word
The examples here are run using node dict in the node-dict directory
- Definitions
Get definitions of a word
node dict def word
- Synonyms
To get synonyms of a word
node dict syn word
- Antonyms
Get antonyms of a word
node dict ant word
- Examples
Get examples of a word
node dict ex word
- All related info
Get all the related info of a word, in order of : - definitions, synonyms, antonyms and examples
node dict dict word
- Word of the day
Get all the related info of the word of the day, i.e. definitions, synonyms, antonyms and examples
node dict
- Play game
Play a word guessing game
node dict play
Made with wordnik api