Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mvrilo/urban
Command line tool and API for the Urban Dictionary
https://github.com/mvrilo/urban
command-line javascript nodejs urban urban-dictionary
Last synced: 13 days ago
JSON representation
Command line tool and API for the Urban Dictionary
- Host: GitHub
- URL: https://github.com/mvrilo/urban
- Owner: mvrilo
- License: mit
- Created: 2011-11-09T02:06:51.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2021-08-24T12:56:46.000Z (about 3 years ago)
- Last Synced: 2024-10-17T02:27:56.488Z (27 days ago)
- Topics: command-line, javascript, nodejs, urban, urban-dictionary
- Language: JavaScript
- Homepage: https://mvrilo.github.io/urban/
- Size: 447 KB
- Stars: 134
- Watchers: 8
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
# urban
The [Urban Dictionary](https://www.urbandictionary.com/) program and library for [node.js](https://nodejs.org/). 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