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);
});
 

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i synonymator

      Weekly Downloads

      2

      Version

      0.0.1

      License

      ISC

      Last publish

      Collaborators

      • 1egoman