saurus

Lookup synonyms and antonyms from thesaurus.com.


Keywords
thesaurus, dictionary, english, synonym, antonym, word, words, language, saurus
License
MIT
Install
npm install saurus@1.3.1

Documentation

Saurus

Description

Uses thesaurus.com to look up synonyms and, if available, antonyms.

Installation

$ npm install --save saurus

Usage

var thesaurus = require('saurus');

thesaurus('never').then(matches => console.log(matches));

// { 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' ] }

Pull requests are welcome!