Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

wordnik

0.0.2 • Public • Published

node-wordnik

A minimalistic node.js client for the Wordnik API http://developer.wordnik.com/

Example

var Wordnik = require('wordnik');
 
var wn = new Wordnik({
    api_key: 'your api key'
});
 
wn.word('minimalism', {
    useCanonical: true
  , includeSuggestions: true
}, function(e, word) {
  console.log(e, word);
 
  word.related({
      limit: 1
  }, console.log);
});
 
wn.definitions('pernicious', function(e, defs) {
  console.log(e, defs);
});

Keywords

none

install

npm i wordnik

Downloadsweekly downloads

7

version

0.0.2

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability