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.
@blad3mak3r/reddit-memes
Advanced tools
### A small async wrapper to get reddit memes ``(post with images)`` from the best Reddits memes, this project is actively used as API by [HUGE](https://huge.blademaker.tv) in [HugeMemesAPI](https://memes.blademaker.tv)
(post with images)
from the best Reddits memes, this project is actively used as API by HUGE in HugeMemesAPIYou can also get this package for other programming languages:
Packages |
---|
Java |
Node.js |
Deno |
Inside your npm project run the following command
npm install @blad3mak3r/reddit-memes --save
Or
npm i -S @blad3mak3r/reddit-memes
git clone https://github.com/<YOUR_USERNAME_HERE>/RedditMemes.git
cd RedditMemes
npm install
npm run build
npm run test
npm run examples
This package is perfect if you are using TypeSript in your project since it includes all the necessary definitions to avoid errors.
import { getRandomMeme, getLocalRandomMeme } from '@blad3mak3r/reddit-memes';
import * as memes from '@blad3mak3r/reddit-memes';
Async/Await
getRandomMeme().then(console.info).catch(console.error);
Async/Await
getRandomMeme("memes").then(console.info).catch(console.error);
// Prevent NSFW
getRandomMeme("meme", { allowNSFW: false }).then(console.log).catch(console.error);
// Prevent NSFW
getLocalRandomMeme("es", { allowNSFW: false }).then(console.info).catch(console.error);
getRandomMeme(/* some NSFW reddit */, { allowNSFW: true }).then(console.info).catch(console.error);
Async/Await
The country codes supported at the moment are
en
,es
,fr
,ru
,de
,it
.
getLocalRandomMeme("es").then(console.info).catch(console.error);
This project is under the Apache 2.0 license, read license.
FAQs
### A small async wrapper to get reddit memes ``(post with images)`` from the best Reddits memes, this project is actively used as API by [HUGE](https://huge.blademaker.tv) in [HugeMemesAPI](https://memes.blademaker.tv)
We found that @blad3mak3r/reddit-memes 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.