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

https://github.com/survivorbat/js-synonyms

Javascript interface to find synonyms using the offline database of thesaurus.
https://github.com/survivorbat/js-synonyms

database javascript js js-synonyms npm offline saurus synonyms thesaurus typescript

Last synced: 8 months ago
JSON representation

Javascript interface to find synonyms using the offline database of thesaurus.

Awesome Lists containing this project

README

          

# 📙 JS Synonyms

![GitHub Workflow Status](https://img.shields.io/github/workflow/status/survivorbat/js-synonyms/deploy)
![npm](https://img.shields.io/npm/dt/js-synonyms)
![GitHub](https://img.shields.io/github/license/survivorbat/js-synonyms)

Interface to find synonyms using the offline database of thesaurus.

Originally a fork of [https://github.com/rohithkn/synonyms-array](https://github.com/rohithkn/synonyms-array), but due to a lack
of response from the author I created my own using [zaibacu/thesaurus](https://github.com/zaibacu/thesaurus).

## ⬇️ Installation

`npm i js-synonyms`

## 📋 Usage

- `synonym`: Retrieves the synonym of the given word
- `search`: Searches in the library for all the words matching the substring