Skip to content

Get the definitions and synonyms of words from the comfort of your terminal. ⚡

Notifications You must be signed in to change notification settings

Eronmmer/define-this

Repository files navigation

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. 🤗

APIS used

About

Get the definitions and synonyms of words from the comfort of your terminal. ⚡

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published