Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including udcli with all npm packages installed. Try it out:

var udcli = require("udcli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

udcli v3.0.2

A urban dictionary cli.


Build Status Greenkeeper badge

A nodejs urban dictionary cli.


npm install udcli -g


$ udcli lgtm

An acronym for "Looks Good To Me", often used as a quick response after reviewing someone's essay, 
code, or design document.

Full source code:

#! /usr/bin/env node

if (process.argv.length === 3) {
        .get({ endpoint: `${process.argv[2]}` })
        .then(response => console.log(JSON.parse(response.body).list[0].definition))
} else {
    console.log('Usage: node index search_term_here');
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free