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

memer-api-js

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

memer-api-js

An Image Manipulation API with over 50 commands for creating and sharing funny memes.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-81.82%
Maintainers
1
Weekly downloads
 
Created
Source


Discord

Memer-api-js is a robust module that makes image manipulation incredibly straightforward and efficient.

Installation

  1. Get a free API Key at our
  2. Install the package using npm:
    npm install memer-api-js@latest
    
  3. Configure your API key
const Meme = require("memer-api-js");
const memer = new Meme('Your Cool API Key');  // Obtained from Memer API Server
memer.<Method>(<Options>); // Returns a Promise with a <Buffer>

Usage

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

const avatar = "https://i.imgur.com/v3W9wMM.png"; // Please note that only static images are supported
const text = "Memer API is awesome!"

memer.youtube(avatar, 'Memer Api', text).then(image => {
    // This provides you with a 'Buffer', which you can use to create a Discord attachment
    
    var attachment = new Discord.AttachmentBuilder(image, {name:"youtube.png"});
    <channel>.send(attachment)
})

For more examples and detailed usage, please refer to the Documentation

Features

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

Ratelimits

The Memer API enforces a rate limit of one request every 5 seconds, allowing for one image request every 5 seconds. To bypass this limit, you can consider upgrading to a premium plan.

Roadmap

For a list of proposed features and known issues, please visit the open issues section.

Contributing

Contributions are highly valued and greatly appreciated in the open-source community. If you'd like to contribute, please follow these steps:

  1. Fork the Project
  2. Create a Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Project Link: Memer-Api-js GitHub

Credits

Keywords

FAQs

Package last updated on 12 Nov 2023

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