Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bruhapi

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bruhapi

Gives random jokes, words, images and more. Also has a text to image feature.

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

🅱 BruhAPI

Welcome to the official BruhAPI NPM package! This package has many things to play around with such as text to image, random jokes & facts, random subreddit images, and more! A documentation of how to use each feature can be found below.

Initialize BruhAPI NPM

const bruh = require("bruhapi")

*Each module should be wrapped in an async function.

List of Features

  • tts("text") - text to speech
  • spotify("discordID") - get user's playing spotify song
  • cb("text") - talk to cleverbot FREE
  • tti("text") - text to image

  • joke() - random joke
  • word() - random word
  • fact() - random fact

  • sub("sub_name") - random image from subreddit
  • taco() - random taco image

Examples

For more examples, check the examples.js file on GitHub.

const bruh = require("bruhapi")
async function test() {
console.log(await bruh.joke())
}

test()

If you have any questions, please join our Discord server!

Keywords

FAQs

Package last updated on 15 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc