Table of Contents
This is an simple application that you can serach for the word definition.
-
node.js
-
npm package
-
Dictionary API: The Merriam-Webster Dictionary API
- node
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/VictorChao996/weird-language-guesser.git
- Install NPM packages
npm install
- After install you can simply execute by the terminal. Pass your input as the argument to the index.js file.
node index.js [word]
Search the word "victor"
node index.js victor
The respone will be the recommended word you could search for if the input is unknown.
node index.js hellllo
Warning
- The API call has a limited in 1000 calls per day.The script will not be able to work if the limit was reached.
Note
- This is a simple project on practice calling the API.
- The idea was inspired from the tutorial: https://teamtreehouse.com/library/nodejs-basics-3/project-overview