urban

Simple API and command line for Urban Dictionary

urban

The Urban Dictionary has a JSON API which can be easily accessed via URLs like this: http://api.urbandictionary.com/v0/define?term=kvlt

$ npm install -g urban # bin
$ npm install urban # lib
$ urban facepalm
var urban = require('urban'),
    trollface = urban('trollface');

trollface.first(function(json) {
    console.log(json);
});

MIT