define-this
v1.2.0
Published
Get the definition of words on the command line.
Downloads
8
Readme
define-this
Get the definitions and synonyms of words from the comfort of your terminal. ⚡
Install
# Install globally
npm install -g define-this
# Or run directly with npx (this installs the package on every run)
npx define-this
Usage
Display the definition of a word
# Displays the definition of bloody
define-this define -w bloody
# For phrases, use quotes
define-this define -w "mad oh"
Display synonyms of a word
# Displays a synonym of phenomenon
define-this synonym -w phenomenon
# Displays three synonyms of phenomenon
define-this synonym -w phenomenon -n 3
Other features
- Caching: Since external APIs are used to get the definitions and synonyms of words, the result of each successful request gets cached for offline use. ⚡
Todo
Make commands and argument follow each other in a simpler and easier to understand way
Add interactive spinner/loader-like texts while users await results
Display translation of words from one language to another
Contributing
Your beautiful PRs are always welcome. 🤗