Skip to content
mvriloPublic

About

Command line tool and API for the Urban Dictionary

Topics

Resources

Stars

135 stars

Watchers

7 watching

Forks

Latest commit

 

History

44 Commits

Folders and files

Repository files navigation

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

About

Command line tool and API for the Urban Dictionary

Topics

Resources

Stars

135 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages