A minimalistic node.js client for the Wordnik API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.gitignore
.npmignore
index.js
package.json
readme.md

readme.md

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