Skip to content

Script to fetch and store Dictionary.com's Word of The Day. Designed for educational purposes and daily vocab enhancement!

Notifications You must be signed in to change notification settings

samkeshmiri/word-of-the-day

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

word-of-the-day

I wrote this script to get Dictionary.com's Word of The Day on the first line of my terminal when I open a new tab or window.

image

The script creates a new file wherever it is called and will store the word of the day in JSON format in a file in the same location for caching.

[
  {
    "date": "2024-04-01",
    "word": "naiveté",
    "definition": "the quality or state of having or showing a lack of experience or judgment; natural or artless simplicity."
  }
]

Once you have downloaded the script add a line to your bash or in my case .zshrc file to execute the script.

I used ts-node to execute it like so; ts-node "/path/to/WordOfTheDay.ts"

About

Script to fetch and store Dictionary.com's Word of The Day. Designed for educational purposes and daily vocab enhancement!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published