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

shitpost-reactor

v0.1.4

Published

Agentic shitpost generator CLI powered by Claude. Feed it a topic, set the chaos dial, get cursed posts.

Readme

shitpost-reactor

Agentic shitpost generator powered by Claude. Feed it a topic, set the chaos dial, get cursed posts — straight from your terminal.

npx shitpost-reactor "mondays"

Install

npm install -g shitpost-reactor
# or run without installing:
npx shitpost-reactor "<topic>"

Bring your own Anthropic API key:

export ANTHROPIC_API_KEY=sk-ant-...

Usage

shitpost-reactor "my code review" -p linkedin -c 4
shitpost-reactor "the housing market" --thread -n 5
shitpost-reactor "running" --worse
shitpost-reactor "mondays" --json

| Flag | | Description | Default | |------|---|-------------|---------| | -p | --platform | x | linkedin | reddit | x | | -c | --chaos | chaos dial, 15 | 2 | | -n | --count | posts to make / thread length | 3 | | -t | --thread | one escalating X thread instead | off | | | --worse | second pass to escalate each post | off | | | --json | raw JSON output | off |

Platforms map to distinct voices: x (lowercase absurdist), linkedin (broetry thought-leader parody), reddit (overconfident reply-guy).

Chaos runs from 1 (mildly cursed) to 5 (banned in 3 countries).

How the flow works

Real agent passes, not a single prompt:

  1. generate — brainstorms comedic angles first, then writes posts from them. Angles are surfaced so you can see the reasoning.
  2. thread — writes one coherent X chain that escalates from grounded to unhinged across the posts.
  3. --worse — an optional second pass that takes each post and deep-fries it further.

Use it as a library

import { generate, generateThread, makeWorse } from "shitpost-reactor";

const { angles, posts } = await generate({ topic: "mondays", platform: "x", chaos: 3 });
const thread = await generateThread({ topic: "rent", length: 5 });
const worse = await makeWorse({ post: posts[0] });

Fully typed. You can inject a preconfigured client via { client } (custom baseURL, testing).

Develop

npm install
npm run build     # src/ -> dist/ with .d.ts
npm test          # mocked SDK, no key or network needed

Release

Tagging a version publishes automatically via GitHub Actions (.github/workflows/publish.yml), with npm provenance. Set an NPM_TOKEN repo secret first, then:

npm version patch    # bumps version + creates a git tag
git push --follow-tags

Guardrails

The humor is absurdist, self-deprecating, and observational. The generator avoids targeting real named people, slurs, protected-group jokes, and genuinely hateful content. The joke is the bit, not a person.

License

MIT