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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.12latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.12

Package Sidebar

Install

npm i synonymator

Weekly Downloads

2

Version

0.0.1

License

ISC

Last publish

Collaborators

  • 1egoman