
Product
Introducing Socket Scanning for OpenVSX Extensions
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.
@arifszn/meme-js
Advanced tools
Get memes on browser/server.
meme.js is a JavaScript package to get bulk memes. Supports both browser and server.
You may be interested in also:
Install via NPM.
npm install @arifszn/meme-js
Or install via Yarn.
yarn add @arifszn/meme-js
You can also try it online.
const { getMeme } = require('@arifszn/meme-js');
Or
import { getMeme } from '@arifszn/meme-js';
getMeme().then((result) => {
console.log(result);
});
getMeme({
total: 20,
}).then((result) => {
console.log(result);
});
| Property | Type | Description | Default |
|---|---|---|---|
total | number | How many memes to get. Max is 20 | 1 |
allowNSFW | boolean | Allow NSFW content in results | true |
allowGIF | boolean | Allow GIF content in results | true |
[
{
id: 'abcxyz',
title: 'Meme title',
postLink: 'https://redd.it/abcxyz',
image: 'https://i.redd.it/example.jpg',
thumbnail: 'https://a.thumbs.redditmedia.com/example.jpg',
subreddit: 'example',
NSFW: false,
spoiler: false,
createdUtc: 1644549590,
upVotes: 464,
upVoteRatio: 1.0,
},
];
To contribute, see the Contributing guide.
meme.js is licensed under the MIT License.
FAQs
Get memes on browser/server
The npm package @arifszn/meme-js receives a total of 0 weekly downloads. As such, @arifszn/meme-js popularity was classified as not popular.
We found that @arifszn/meme-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.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies