Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@abhishekwl/dict_cli
Advanced tools
Robust CLI based thesaurus to play with. Focused on code structure and file organisation. Built using `commander` (CLI operations) and `chalk` (console coloring). Makes API calls to [dictionaryapi.com](https://dictionaryapi.com/products/api-intermediate-t
Readme
Robust CLI based thesaurus to play with. Focused on code structure and file organisation.
Built using commander
(CLI operations) and chalk
(console coloring). Makes API calls to dictionaryapi.com to fetch definitions, synonyms, antonyms and usage examples of a given word.
Usage: dict [options] [command]
Options:
-v, --version Displays the current version of the CLI
-h, --help display help for command
Commands:
def <word> Display definitions of a word
syn <word> Display synonyms of a word
ant <word> Display antonyms of a word
ex <word> Display examples of a word
play Let's play a game
help [command] display help for command
.
├── README.md
├── index.js
├── package.json
├── src
│ ├── shared
│ │ ├── commands.metadata.json
│ │ ├── constants.js
│ │ └── random.words.txt
│ ├── thesaurus
│ │ ├── controller
│ │ │ ├── antonym.controller.js
│ │ │ ├── definition.controller.js
│ │ │ ├── example.controller.js
│ │ │ ├── full-dict.controller.js
│ │ │ ├── play.controller.js
│ │ │ └── synonym.controller.js
│ │ ├── enums
│ │ │ └── command.enum.js
│ │ ├── helpers
│ │ │ └── play.helper.js
│ │ └── services
│ │ └── thesaurus.service.js
│ └── util
│ └── index.js
└── yarn.lock
enums
for command names.service
layer deals with API calls, controller
deals with CLI interaction, helpers
aid controllers with functions specific to the module.shared
directory contains globally shared resources such as constants and command information.util
directory.try/catch
being implemented with various error types at the service level as well as the controller level.index.js
entrypoint with necessary imports only.paths
to make relative imports easier.prettify
).did you mean
message if a command is not found.bash
/zsh
autocomplete.FAQs
Robust CLI based thesaurus to play with. Focused on code structure and file organisation. Built using `commander` (CLI operations) and `chalk` (console coloring). Makes API calls to [dictionaryapi.com](https://dictionaryapi.com/products/api-intermediate-t
The npm package @abhishekwl/dict_cli receives a total of 4 weekly downloads. As such, @abhishekwl/dict_cli popularity was classified as not popular.
We found that @abhishekwl/dict_cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.