Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tharunoptimus/endict

Command Line English Dictionary - Source Code of the npm package endict
https://github.com/tharunoptimus/endict

cli cli-color console window-size yargs

Last synced: about 2 months ago
JSON representation

Command Line English Dictionary - Source Code of the npm package endict

Awesome Lists containing this project

README

        

## CMD line English Dictionary

## Install
`npm install -g endict`

## Usage

`dict word`

### Example
```js
// In the terminal
dict happy
```

### Output

![](https://raw.githubusercontent.com/tharunoptimus/endict/main/output.png)

## Dependencies
- [clear-any-console](https://www.npmjs.com/package/clear-any-console) To clear the console before the output
- [cli-color](https://www.npmjs.com/package/cli-color) For colorizing the output
- [window-size](https://www.npmjs.com/package/window-size) To get the size of the terminal
- [word-wrap](https://www.npmjs.com/package/word-wrap) To word wrap the output
- [yargs](https://www.npmjs.com/package/yargs) To parse the arguments

## Note
- This cli is not meant for production use. It is a learning tool to know about words and their meanings.
- The dictionary.json file is used from [here](https://github.com/matthewreagan/WebstersEnglishDictionary/blob/master/dictionary.json)

## Enjoy 🎉