Miss any of our Open RFC calls?Watch the recordings here! »

urban

0.3.2 • Public • Published

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

Install

npm i urban

DownloadsWeekly Downloads

4,918

Version

0.3.2

License

MIT

Unpacked Size

7.44 kB

Total Files

6

Last publish

Collaborators

  • avatar