
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
powerthesaurus-api
Advanced tools
Look up English synonyms, antonyms, and more using
powerthesaurus.org: a crowdsourced corpus of nearly 80
million synonyms and 4 million antonyms.
npm:
npm install powerthesaurus-api
var thesaurus = require('powerthesaurus-api')
// Callbacks:
thesaurus('car', function(err, res) {
if (err) throw err
console.log(res)
})
// Promises and given a kind:
thesaurus('blue', 'antonyms').then(
res => {
console.log(res)
},
err => {
throw err
}
)
Yields:
[
{word: 'vehicle', parts: ['noun'], topics: ['carriage', 'transport']},
{word: 'motorcar', parts: ['noun', 'adjective'], topics: ['vehicle']},
{word: 'automobile', parts: ['noun', 'adjective'], topics: ['vehicle', 'transport']},
{word: 'auto', parts: ['noun', 'adjective'], topics: ['transport', 'technology']},
{word: 'railcar', parts: ['noun'], topics: []},
// …and 45 more entries
]
[
{word: 'happy', parts: ['adjective'], topics: ['characteristic', 'decency']},
{word: 'lighthearted', parts: ['adjective'], topics: ['characteristic', 'happiness']},
{word: 'joyful', parts: ['adjective'], topics: ['characteristic', 'happiness']},
{word: 'upbeat', parts: ['adjective'], topics: ['characteristic', 'happiness']},
{word: 'joyous', parts: ['adjective'], topics: ['characteristic', 'happiness']},
// …and 45 more entries
]
thesaurus(word[, kind][, callback])Look up words relating to word.
word (string)
— Word to look upkind (Kind, default: 'synonyms')
— Type of relation between looked up word and related words, can be:
'synonyms', 'antonyms', 'related', 'narrower', 'broader',
'sound_like', 'similar', or 'rhymes'callback (Function, optional)
— Callback called when done.
Returns a promise when not givenWhen given a callback, returns nothing and calls callback with either an
error or a list of entries.
When not given a callback, returns a Promise, that is either resolved with a
list of entries or rejected with an error.
Up to 50 entries are found by powerthesaurus-api
EntryObject representing a related word, with the following fields:
word (string)
does indeed relate to the looked up wordparts (string[]) — List of parts of speech of this entry.
Can include 'adjective', 'adverb', 'conjunction', 'expression',
'idiom', 'interjection', 'noun', 'phrasal verb', 'pronoun',
'preposition', and/or 'verb'topics (string[]) — List of topics of this entryFAQs
Look up English synonyms, antonyms, etc using powerthesaurus.org
We found that powerthesaurus-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.