A simple npm package that provides a random programming meme. It fetches memes from the "ProgrammerHumor" subreddit on Reddit.
npm install random-programming-meme
const { getProgrammingMeme } = require('random-programming-meme');
(async () => {
try {
const meme = await getProgrammingMeme();
console.log('Programming Meme:', meme);
} catch (error) {
console.error('Error:', error.message);
}
})();
{
"title": "A witty programming meme",
"imageUrl": "https://example.com/meme.jpg"
}
This project is licensed under the MIT License - see the LICENSE file for details.