New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

random-programming-meme

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

random-programming-meme

an npm package that provides random programming memes

latest
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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

  • axios
  • node-html-parser

License

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

Keywords

npm

FAQs

Package last updated on 12 Mar 2024

Did you know?

Socket

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.

Install

Related posts