Socket
Socket
Sign inDemoInstall

random-stuff-api

Package Overview
Dependencies
130
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    random-stuff-api

Random joke , inuslt ,devjoke , cat image , dog image ,duck image , devjoke and much more things


Version published
Weekly downloads
32
increased by700%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

All in one API

Installation

npm i random-stuff-api

Declaration

const api = require('random-stuff-api')

Functions

api.joke() // Returns a dad joke
api.cnjoke() // Returns a cn joke
api.devjoke() // Returns a dev joke
api.insult() // returns a random insult 
api.vase() // returns a vase image 
api.cat() // returns a cat image 
api.dog() // returns a dog image 
api.duck() // returns a duck image 

Usage Example

const api = require('random-sutff-api')
api.insult()
// Random Output =>
/* {"number":"130",
 "language":"en",
"insult":"If you were twice as smart, you'd still be stupid.",
"created":"2020-11-25 19:46:06",
"shown":"26038",
"createdby":"",
"active":"1",
"comment":""}
*/

Support

For support Discord server

Keywords

FAQs

Last updated on 26 Nov 2020

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