1.0.2 • Published 4 years ago

very-urban v1.0.2

Weekly downloads
4
License
ISC
Repository
-
Last release
4 years ago

What is this?

This is a simple package to interact with the Urban Dictionary API!

How do i install and use this?

You can install it by doing: npm i very-urban , and use it by simply doing:

const urbanDictionary = require("very-urban")
const dictionary = new urbanDictionary() //initializes the urbanDictionary class

dictionary.search("urban") //searches for the word "urban"
.then(d => console.log(d)) //logs the first result

dictionary.getAllResults("urban") //searches for the word "urban"
.then(d => console.log(d)) // logs all the results for "urban"
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago