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

takumi-markdown

v1.1.0

Published

Beautiful Markdown renderer for React with Japanese typography optimization and ruby notation support

Readme

Takumi Markdown (匠)

npm version npm downloads License: MIT

🚀 Live Demo | 📦 npm

Beautiful Markdown renderer for React, meticulously crafted for CJK (Chinese, Japanese, Korean) typography and readability.

Philosophy

Most markdown renderers focus on functionality. Takumi focuses on the reading experience. We optimize line heights, letter spacing, and font choices to create documents that feel professional and polished by default.

Features

  • 🎨 Premium Typography - Optimized specifically for Japanese text (C-spacing, P-alt)
  • 📝 Ruby Support - Render |text《ruby》 syntax beautifully (web novel style)
  • 📋 Rich Frontmatter - Clean metadata display
  • Modern Standards - GFM support, syntax highlighting, and responsive tables

Visual Experience

Left: Default rendering (standard typography, raw syntax)
Right: Takumi rendering (optimized spacing, rendered rubies, premium feel)

Installation

npm install takumi-markdown

Usage

import { MarkdownRenderer } from 'takumi-markdown';
import 'takumi-markdown/styles.css';

function App() {
  const markdown = `
# The Art of Text

Words should be beautiful.

|Typography《タイポグラフィ》 matters.
`;

  return <MarkdownRenderer content={markdown} />;
}

SSR (Next.js)

Takumi is SSR-safe as long as you load the CSS globally (Next.js requires global CSS to be imported in its root files).

App Router

// app/layout.tsx
import 'takumi-markdown/styles.css';

export default function RootLayout({ children }) {
  return (
    <html lang="ja">
      <body>{children}</body>
    </html>
  );
}

Pages Router

// pages/_app.tsx
import 'takumi-markdown/styles.css';

export default function App({ Component, pageProps }) {
  return <Component {...pageProps} />;
}

Ruby Notation

Supports the standard Japanese web novel format:

| Syntax | Description | Result | |--------|-------------|--------| | |text《ruby》 | Explicit | text with ruby above | | 漢字《かんじ》 | Auto-detect | 漢字 with かんじ above |

API

<MarkdownRenderer />

| Prop | Type | Description | |------|------|-------------| | content | string | Markdown content to render |

remarkRuby

Remark plugin for ruby notation. Exported for advanced users who want to use it with their own react-markdown setup.

import remarkRuby from 'takumi-markdown/remarkRuby';

License

MIT