npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

memecub

v0.3.0

Published

Meme search, automatic meme placement and AI meme generation for AI agents and writers: find reaction memes, GIFs and Chinese 表情包 by feeling, insert them into articles, or draw a custom one. CLI and JS client for memecub.com.

Readme

memecub

Find memes, 表情包 and reaction images and place them into your writing. Classic memes collected from the web are marked commercial_use: false; openly licensed emoji, art and photos are marked commercial_use: true with their license and a ready credit line. Every result has a Markdown snippet.

npx memecub search "facepalm" --limit 5
npm i -g memecub                              # or install the `memecub` command, Node 18+
memecub search "facepalm" --limit 5
memecub search "无语" --kind meme --json
memecub search "mind blown" --commercial      # only images cleared for commercial use
memecub match ./article.md --count 4 > article.with-memes.md
memecub generate "Works on my machine" --action "a cat shrugging at a burning server" --out meme.jpg
memecub generate "收到" --ref ./mascot.png --style 3d   # reuse a character from a local image or a meme id

Memes whose captions contain swearing are hidden unless you pass --profanity. generate draws a new meme with AI (needs an account) and saves it to your private library with a visible "AI generated" label; styles are panda, photo, 3d, anime and sticker.

Run npx memecub login to sign in through the browser (the key is saved to ~/.config/memecub/config.json), or set MEMECUB_API_KEY (create one at https://memecub.com/dashboard?tab=keys). Without signing in you get 20 searches a day; a free account gets 1,000 credits a month (search 1, match 20 per image placed, generate 500 per image). memecub whoami shows what is left; plans at https://memecub.com/pricing.

As a library

import { MemecubClient } from "memecub";

const client = new MemecubClient("https://memecub.com", process.env.MEMECUB_API_KEY);
const { data } = await client.search({ q: "mind blown", limit: 5, commercialOnly: true });
const matched = await client.match(articleMarkdown, { count: 4 });
const made = await client.generate({ caption: "Ship it", action: "a dog in sunglasses pressing a big red button" });

For AI agents

  • Remote MCP server: https://memecub.com/mcp
  • Agent skill: https://memecub.com/skill.md