# thesaurus-com

> Lookup synonyms and antonyms from thesaurus.com.

Latest version **1.2.3** (published 2019-08-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install thesaurus-com
pnpm add thesaurus-com
yarn add thesaurus-com
bun add thesaurus-com
```

Provides the command `tcom`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.3 |
| Published | 2019-08-09 |
| First published | 2016-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 7.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 17 |
| Author | Marco Hinz |
| Maintainers | mhinz |
| Keywords | thesaurus, dictionary, english, synonym, antonym, word |

## Links

- npm: https://www.npmjs.com/package/thesaurus-com
- Repository: https://github.com/mhinz/node-thesaurus-com
- Issues: https://github.com/mhinz/node-thesaurus-com/issues
- npm.io page: https://npm.io/package/thesaurus-com

## Dependencies (2)

- [cheerio](https://npm.io/package/cheerio.md) ^1.0.0-rc.3
- [sync-request](https://npm.io/package/sync-request.md) ^6.0.0

## Recent versions

- 1.2.3 (latest) — 2019-08-09
- 1.2.2 — 2019-08-09
- 1.2.1 — 2018-12-16
- 1.2.0 — 2018-05-28
- 1.1.3 — 2016-10-19
- 1.1.2 — 2016-10-19
- 1.1.1 — 2016-10-19
- 1.1.0 — 2016-10-19
- 1.0.3 — 2016-10-19
- 1.0.2 — 2016-10-18
- 1.0.1 — 2016-10-18
- 1.0.0 — 2016-10-18

## README

[![Build Status](https://travis-ci.org/mhinz/node-thesaurus-com.svg?branch=master)](https://travis-ci.org/mhinz/node-thesaurus-com)
[![npm](https://img.shields.io/npm/v/thesaurus-com.svg)](https://www.npmjs.com/package/thesaurus-com)

## Description

Use [thesaurus.com](http://www.thesaurus.com/) to look up synonyms and, if
available, antonyms.

Moreover, it comes with an executable called `tcom`, which can be used to start
a search from the shell. The output is either plain-text (by default) or JSON.

## Installation

```
$ npm install -g thesaurus-com
```

Or install it into the current directory, so you can play around with it:

```
$ npm install --save thesaurus-com
```

(The executable can then be found at `./node_modules/.bin/tcom`.)

## Usage

```javascript
var tcom = require('thesaurus-com');

console.log(tcom.search('never'));

// { synonyms:
//   [ 'at no time',
//     'don\'t hold your breath',
//     'forget it',
//     'nevermore',
//     'no way',
//     'not at all',
//     'not ever',
//     'not in any way',
//     'not in the least',
//     'not on your life',
//     'not under any condition' ],
//  antonyms: [ 'always', 'forever' ] }
```

```
$ tcom always
Synonyms: consistently, constantly, eternally, ever, everlastingly, evermore, for keeps, forevermore, in perpetuum, invariably, perpetually, regularly, repeatedly, till blue in the face, till cows come home, till hell freezes over, unceasingly, without exception
Antonyms: at no time, never
```

```
$ tcom -j always
{"synonyms":["consistently","constantly","eternally","ever","everlastingly","evermore","for keeps","forevermore","in perpetuum","invariably","perpetually","regularly","repeatedly","till blue in the face","till cows come home","till hell freezes over","unceasingly","without exception"],"antonyms":["at no time","never"]}
```

---
_Source: https://npm.io/package/thesaurus-com · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
