Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Command line tool and API for the Urban Dictionary

branch: master
README.md

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

installation

$ npm install -g urban # bin
$ npm install urban # lib

examples

bin

$ urban facepalm

lib

var urban = require('urban'),
    trollface = urban('trollface');

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

license

MIT

Something went wrong with that request. Please try again.