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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i wordnik

    Weekly Downloads

    4

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • cpetzold