node-wordnik

A minimalistic node.js client for the Wordnik API

Downloads
32
Stars
13

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);
});
Package Rankings
Top 15.11% on Npmjs.org
Related Projects