Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
memer-api-js
Advanced tools
An Image Manipulation API with over 50 commands for creating and sharing funny memes.
Memer-api-js is a robust module that makes image manipulation incredibly straightforward and efficient.
npm install memer-api-js@latest
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>
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
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.
For a list of proposed features and known issues, please visit the open issues section.
Contributions are highly valued and greatly appreciated in the open-source community. If you'd like to contribute, please follow these steps:
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Project Link: Memer-Api-js GitHub
FAQs
An Image Manipulation API with over 50 commands for creating and sharing funny memes.
The npm package memer-api-js receives a total of 2 weekly downloads. As such, memer-api-js popularity was classified as not popular.
We found that memer-api-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.