Skip to content

KrshnK/random-programming-meme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Programming Meme

A simple npm package that provides a random programming meme. It fetches memes from the "ProgrammerHumor" subreddit on Reddit.

Installation

npm install random-programming-meme

Usage

const { getProgrammingMeme } = require('random-programming-meme');

(async () => {
  try {
    const meme = await getProgrammingMeme();
    console.log('Programming Meme:', meme);
  } catch (error) {
    console.error('Error:', error.message);
  }
})();

Example Output

{
  "title": "A witty programming meme",
  "imageUrl": "https://example.com/meme.jpg"
}

Dependencies

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

An NPM package that provides random programming memes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published