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

@steward-apps/email-templates

v0.2.0

Published

HTML email templates for the Steward ecosystem

Readme

@steward-apps/email-templates

HTML email templates for the Steward ecosystem. Uses the same brand colors and typography as the UI components.

Installation

pnpm add @steward-apps/email-templates

Usage

Receipt Email

import { receiptEmail } from "@steward-apps/email-templates";

const html = receiptEmail({
  organizationName: "Grace Community Church",
  recipientName: "John Doe",
  receiptNumber: "RCP-2024-001",
  date: "January 15, 2024",
  items: [
    { description: "General Fund Donation", amount: "$100.00" },
    { description: "Building Fund", amount: "$50.00" },
  ],
  total: "$150.00",
  paymentMethod: "Visa ****4242",
  viewDetailsUrl: "https://example.com/receipts/RCP-2024-001",
  organizationAddress: "123 Church St, City, ST 12345",
  supportEmail: "[email protected]",
});

// Send with your email provider
await sendEmail({
  to: "[email protected]",
  subject: "Your donation receipt",
  html,
});

Welcome Email

import { welcomeEmail } from "@steward-apps/email-templates";

const html = welcomeEmail({
  organizationName: "Grace Community Church",
  recipientName: "Jane Smith",
  ctaUrl: "https://example.com/dashboard",
  ctaText: "Go to Dashboard",
  features: [
    {
      title: "View your giving history",
      description: "Access all your donation records and tax receipts in one place.",
    },
    {
      title: "Set up recurring donations",
      description: "Automate your giving with weekly or monthly contributions.",
    },
    {
      title: "Update your profile",
      description: "Keep your contact information up to date.",
    },
  ],
  supportEmail: "[email protected]",
});

Customization

Using the Email Theme

Access the theme directly for custom templates:

import { emailTheme, inlineStyles, emailButtonStyles } from "@steward-apps/email-templates";

// Access colors
const primaryColor = emailTheme.colors.blue; // "#2563EB"

// Generate inline styles
const customStyle = inlineStyles({
  backgroundColor: emailTheme.colors.subtle,
  padding: emailTheme.spacing.md,
  borderRadius: emailTheme.borderRadius.md,
});

// Use pre-built button styles
const buttonStyle = emailButtonStyles("primary");

Theme Values

Colors:

  • navy: #1B2A41 (primary brand)
  • blue: #2563EB (action/links)
  • emerald: #16A34A (success)
  • amber: #F59E0B (warning)
  • red: #DC2626 (danger)
  • ink, slate, muted, border, surface, subtle (neutrals)

Typography:

  • Font: Inter system stack
  • Sizes: display, h1, h2, h3, body, small, caption

Spacing:

  • xs: 4px, sm: 8px, md: 16px, lg: 24px, xl: 32px, 2xl: 48px

Email Client Compatibility

These templates are designed for maximum email client compatibility:

  • ✅ Gmail (web & mobile)
  • ✅ Apple Mail
  • ✅ Outlook (desktop & web)
  • ✅ Yahoo Mail
  • ✅ Most mobile email apps

Templates use:

  • Table-based layouts
  • Inline styles
  • Web-safe fonts with fallbacks
  • No external CSS files