Package Exports
- urban
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (urban) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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 # libexamples
bin
$ urban facepalm
$ urban -r // random modelib
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