@zeyrbot/urbandictionary
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@zeyrbot/urbandictionary

Version License: ISC Twitter: ruunao

A wrapper made for urban dictionary api

🏠 Homepage

NPM

Install

pnpm add @zeyrbot/urbandictionary

Usage

import { Client as UDClient } from "@zeyrbot/urbandictionary"

const ud = new UDClient()

const woosh = ud.define("woosh")
/**
 {
  "list": [
    {
      "definition": "This, [along with] [the joke], had gone [over your head].",
      "permalink": "http://woosh.urbanup.com/6027307",
      "thumbs_up": 1033,
      "author": "Your real name (i rebel LOL)",
      "word": "woosh",
      "defid": 6027307,
      "current_vote": "",
      "written_on": "2011-08-18T18:14:19.000Z",
      "example": "You: It's [not funny] that's a serious issue!\n\n[Joker]: [WOOSH]!\n\nYou: *Looks up [woosh] on Urban Dictionary*",
      "thumbs_down": 116
    }
    ...
  ]
}
*/

Author

👤 @ruunao

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!

Package Sidebar

Install

npm i @zeyrbot/urbandictionary

Weekly Downloads

28

Version

1.0.3

License

ISC

Unpacked Size

5.75 kB

Total Files

14

Last publish

Collaborators

  • chiika