synonymator

0.0.1 • Public • Published

Synonymator

A client for Big Huge Thesaurus https://words.bighugelabs.com/api.php.

Installing

npm install --save synonymator

Usage

"use strict";
const Synonymator = require("../");
const API_KEY = "Get an api key @ https://words.bighugelabs.com/api.php";
 
let syn = new Synonymator(API_KEY);
 
// in each example, data is an array
syn.synonyms("time").then((data) => {
  console.log(data);
});
 
syn.synonymsNoun("time").then((data) => {
  console.log(data);
});
 
syn.synonymsVerb("time").then((data) => {
  console.log(data);
});
 

Readme

Keywords

none

Package Sidebar

Install

npm i synonymator

Weekly Downloads

1

Version

0.0.1

License

ISC

Last publish

Collaborators

  • 1egoman