urban

0.3.4 • 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

Package Sidebar

Install

npm i urban

Weekly Downloads

381

Version

0.3.4

License

MIT

Unpacked Size

7.43 kB

Total Files

6

Last publish

Collaborators

  • mvrilo