memer-api-premium

5.0.0 • Public • Published

Memer API v5


npm Discord Buy Me A Coffee

Memer API is a powerful module that allows you to manipulate images very easily :)

Installation

npm install memer-api
const Meme = require("memer-api");
const memer = new Meme('Your Cool API Token');  // From Memer API Server :)
memer.<Method>(<Options>); //returns -> Promise -> <Buffer>

LINKS

Features

  • Super simple and easy to use.
  • More than 50+ methods
  • Easy to Implement.
  • Great support and flexible.

Examples

const Meme = require("memer-api")
const Discord = require("discord.js")
cosnt memer = new Meme('Your Cool API Token'); // From Memer API Server :)

const avatar = "https://imgur.com/I5DmdNR.png"; // Only static images are supported :)
const text = "Memer API is awesome!"

memer.youtube(avatar, 'Memer Api', text).then(image => {
    // This gives you a 'Buffer', for Discord to create an attachment
    
    var attachment = new Discord.MessageAttachment(image, "youtube.png");
    <channel>.send(attachment)
})

Credits

Image Gen: Link!

Wrapper: Based from Snowflake's Api Wrapper

Made by: @Yash094

Preview

preview

Package Sidebar

Install

npm i memer-api-premium

Weekly Downloads

13

Version

5.0.0

License

GPL-3.0

Unpacked Size

39.9 kB

Total Files

4

Last publish

Collaborators

  • shinchanop