Socket
Socket
Sign inDemoInstall

random-stuff-api

Package Overview
Dependencies
200
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.5.0-beta.0 to 8.5.0

2

package.json
{
"name": "random-stuff-api",
"version": "8.5.0-beta.0",
"version": "8.5.0",
"description": "Random Jokes , memes , aww moments , devjokes , cat/dog/duck/horse etc images and videos , hp memes and many more ",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -31,3 +31,3 @@ # Random-stuff-api

## Recent Changes
### Version 8.x
### Version 8.5.x
Added Classes!

@@ -38,2 +38,4 @@ * Now the api has been made arranged into classes

* image // Used for functions which has image as an output (for eg - dog , cat)
* Added Image manipulation (it may not work)
* For eg - api.canva.blur("image url")
* For eg - Now to get a joke you will do api.random.joke()

@@ -57,3 +59,11 @@ **Scroll down for all functions explained**

const api = require('random-stuff-api')
const image = "string"
api.random.insult()
.then(insult => {
console.log(insult)
})
//Output => What's the difference between you and eggs? Eggs get laid and you don't.
// ANOTHER ONE
const image = "img url"
api.canva.blur(image).then(buffer => {

@@ -66,2 +76,6 @@ // Do anything with buffer

## Functions
### Class canva
* `api.canva.blur() // blurs the image`
* `api.canva.delete() // the delete memey thingy`
* `api.canva.triggered() // the triggered gif`
### Class random

@@ -68,0 +82,0 @@ * `api.random.joke() // Returns a dad joke`

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