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

@profullstack/cross-promo

v0.2.0

Published

The "more from the network" block for transactional email: one live, audience-tagged catalog of Profullstack properties rendered as text, Markdown or HTML.

Readme

@profullstack/cross-promo

The "more from the network" block for transactional email. When someone submits a listing, subscribes, signs up or buys on one Profullstack property, the confirmation email points them at the sister properties that are relevant to them, never at the sending site itself.

One catalog (src/catalog.js) is the single source of truth. Sites read it live from jsDelivr @latest (30 min cache, 2.5 s timeout) and fall back to the copy bundled in their install, so adding a property is one release here, with no site redeploys, and a mail send never waits on or fails because of the CDN.

import { promoBlock } from '@profullstack/cross-promo';

const promo = await promoBlock({
  site: 'pwamart.com',     // the sender: it is never promoted
  audience: 'makers',      // who the reader is
  seed: email,             // optional: stable per-recipient rotation after the top 2
});
send({ to: email, subject, text: body + '\n\n' + promo.text, html: body + promo.html });

Returns { items, title, text, markdown, html }. html is inline-styled and neutral (reads on light and dark clients); pass theme: { accent, text, muted, bg, border, heading } to match a branded template. Links carry utm_source=<site>&utm_medium=email&utm_campaign=cross-promo (utm: false turns that off). promoBlockSync() is the same without awaiting.

Deno / Supabase edge functions: import { promoBlock } from 'npm:@profullstack/cross-promo@0'.

Audiences

| key | reader | first picks | | --- | --- | --- | | makers | just listed or launched a product | built.indie, pwamart, SaaSRow, demo.movie, myna | | publishers | runs a blog or site | RSS Amplifier, myna, CrawlProof, seo.rank | | podcasters | runs a show | p0dcasters, RSS Amplifier, myna | | developers | builds software | BufferOverride, LogicSRC, built.indie, hqterm | | freelancers | sells their time | ugig.net, pay.agent | | merchants | sells things | CoinPay, pay.agent, ad.network | | shoppers | buys things | pwamart, SaaSRow |

Pass several (audience: ['podcasters', 'publishers']) to merge them in order.

Adding or changing a property

  1. Edit src/catalog.js: add it under properties (bare host as id, href, short true pitch, aliases for old domains / Moshpit names) and into each relevant audience list.
  2. npm test (checks every audience id exists, no em dashes, catalog.json in sync).
  3. Bump version, merge, and publish a GitHub release vX.Y.Z. The workflow publishes to npm and purges jsDelivr @latest; every site picks it up within 30 minutes.

CLI

npx @profullstack/cross-promo show --site saasrow.com --audience makers --format text
npx @profullstack/cross-promo audiences

Env: CROSS_PROMO=bundled (never fetch), CROSS_PROMO=off (empty block), CROSS_PROMO_URL (alternate catalog).

MIT