wordnik-dictionary

1.0.0 • Public • Published

Wordnik-Command-Tool

Command Line tool for dictionay tool using Wordnik REST API.

Steps to install

Usage

  • Type help to know list of commands
  • To exit the application and return to your terminal mode type exit
  • Type def <word> to display definitions for the word
  • Type syn <word> to display synonym
  • Type ant <word> to display antonym
  • Type ex <word> to display example for the word
  • Type dict <word> to display all the above information
  • Typing dict today displays same as previous command for the word of the day from wordnik
  • Type clear to clean your console
  • Typing play gets you into play mode .
    • Type start to start the game - which displays definition , antonym or synonym for the word
    • Try to guess the word by typing the word directly
    • Synonym of the word is also accepted as a answer
    • If you enter a incorrect word , you are provided with 3 options
      • Try again - will bring you back to play mode , so you can guess the word again
      • Hint - will display a hint and bring you back to play mode , hint can be jumbled word or another definition , antonym or synonym
      • quit - will quit the game and display the answer
    • Typing exit will quit the gaming mode and return to dictionary mode .

Readme

Keywords

Package Sidebar

Install

npm i wordnik-dictionary

Weekly Downloads

3

Version

1.0.0

License

MIT

Last publish

Collaborators

  • vikneshwar