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

@buchida/email

v0.3.2

Published

React Email component library with native CJK support. Korean, Japanese, and Chinese fonts rendered correctly across email clients.

Readme

@buchida/email

buchida Email Templates — CJK-native React Email components

@buchida/email is the React Email component library with native CJK support for buchida — an email API built for AI agents. Built-in support for Korean, Japanese, and Chinese with proper fonts, line-height, and letter-spacing. All components render to email client compatible HTML (Gmail, Outlook, Naver Mail, Apple Mail).

Install

npm install @buchida/email

Send your first email

import { renderBuchidaEmail, WelcomeTemplate } from '@buchida/email';

const html = renderBuchidaEmail(<WelcomeTemplate name="안녕하세요" locale="ko" />);

// Pass to buchida.emails.send or any SMTP client

Components

| Component | Description | |-----------|-------------| | Email | Root HTML wrapper with lang attribute | | Head | HTML head with meta tags | | Body | Body with background color | | Container | Centered content container (max-width table) | | Section | Content grouping | | Row / Column | Table-based grid layout | | Text | Paragraph with CJK-aware line-height | | Heading | H1-H6 with CJK letter-spacing | | Button | CTA button (centered, neo-brutalist style) | | Image | Responsive image | | Link | Styled anchor | | Hr / Divider | Horizontal rule | | Preview | Preview text (hidden in body, visible in inbox) | | Font | Google Fonts loader with CJK auto-append | | Markdown | Markdown to email-safe HTML | | CodeBlock | Dark code block | | CodeInline | Inline code span | | MsoConditional | Outlook-only content | | MsoHide | Hide from Outlook |

Quick Start

import { Body, Button, Container, Email, Font, Head, Text } from "@buchida/email";

export default function WelcomeEmail({ name, locale = "ko" }) {
  return (
    <Email locale={locale}>
      <Head>
        <Font families={["DM Sans"]} locale={locale} />
      </Head>
      <Body style={{ backgroundColor: "#FFF8F0" }}>
        <Container>
          <Text locale={locale} style={{ fontSize: "24px", fontWeight: "bold" }}>
            Welcome, {name}!
          </Text>
          <Button href="https://buchida.com/dashboard" locale={locale}>
            Go to Dashboard →
          </Button>
        </Container>
      </Body>
    </Email>
  );
}

CJK Support

Pass locale to enable automatic CJK optimization:

  • locale="ko" → Noto Sans KR, line-height 1.8, letter-spacing 0.02em
  • locale="ja" → Noto Sans JP, line-height 1.8, letter-spacing 0.05em
  • locale="zh" → Noto Sans SC, line-height 1.8, letter-spacing 0.03em
  • locale="en" → DM Sans (default western fonts)

Rendering

Use @buchida/render to convert components to HTML:

import { render } from "@buchida/render";
import WelcomeEmail from "./emails/welcome";

const html = render(<WelcomeEmail name="김민준" locale="ko" />);
// Returns complete HTML string with DOCTYPE

MSO / Outlook Support

Use MsoConditional and MsoHide for Outlook conditional comments:

import { MsoConditional, MsoHide, Container } from "@buchida/email";

// This content is shown only in Outlook (ghost table for layout)
<MsoConditional>
  <table width="600"><tr><td>
</MsoConditional>
  <Container>content here</Container>
<MsoConditional>
  </td></tr></table>
</MsoConditional>

// This content is hidden from Outlook
<MsoHide>
  <div style={{ maxWidth: "600px" }}>Modern layout</div>
</MsoHide>

The render() function from @buchida/render automatically converts these into proper <!--[if mso]> conditional comments.

Documentation

Full docs: buchida.com/docs

  • CJK email templates: https://buchida.com/docs/templates
  • API reference: https://buchida.com/docs/api-reference
  • Quickstart guide: https://buchida.com/docs/quickstart

License

MIT — buchida.com