Socket
Socket
Sign inDemoInstall

fun-responses

Package Overview
Dependencies
30
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fun-responses

An API for getting pickup lines, jokes, roasts, toasts, and open-ended questions.


Version published
Weekly downloads
2
decreased by-33.33%
Maintainers
1
Install size
4.43 MB
Created
Weekly downloads
 

Readme

Source

Fun Responses

npmnpm bundle sizenpmWebsite

NPM Install

npm install fun-responses

How to use:

const fun = require('fun-responses');

async function run() {
    console.log(' - Joke')
    console.log(await fun.joke())
    console.log(' - Pickup Line')
    console.log(await fun.pickup())
    console.log(' - Topic')
    console.log(await fun.topic())
    console.log(' - Roast')
    console.log(await fun.roast())
    console.log(' - Toast')
    console.log(await fun.toast())
}
run()

Discord Example

const Discord = require('discord.js');
const funRes = require('fun-responses');

async function topicSend() {
    const embed = new Discord.MessageEmbed()
        .setDescription(await funRes.topic())
    message.channel.send(embed).then().catch(console.error);
}

topicSend();

Amounts of Responses

UseResponses
funRes.joke()44
funRes.pickup()42
funRes.topic()86
funRes.roast()22
funRes.toast()15

FAQs

Last updated on 10 Feb 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc