urban

by mvrilo

mvrilo / urban

Command line tool and API for the Urban Dictionary

128 Stars 21 Forks Last release: Not found MIT License 41 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

urban

The Urban Dictionary program and library for node.js. The API is official, but undocumented.

installation

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

examples

bin

$ urban facepalm
$ urban -r // random mode

lib

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

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

// Random mode var urban = require('urban');

urban.random().first(function(json) { console.log(json); });

license

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.