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

streamdown-native

v0.1.1

Published

Streaming Markdown for React Native with native semantics, explicit security policy, and opt-in rich-content adapters

Readme

streamdown-native

Streaming Markdown for React Native, with native semantics, incremental rendering, explicit security boundaries, and opt-in rich-content adapters.

Current release: This branch documents npm 0.1.1.

Install

npm install streamdown-native
npx expo install react-native-svg

Bare React Native apps can install the tested SVG peer directly:

npm install react-native-svg@">=15.12.1 <16.0.0"
cd ios && pod install

The package requires React 19 and React Native ^0.81.0 || ^0.85.0. The host owns react-native-svg so Expo or React Native can select the compatible native version.

0.1.0 requires React Native's New Architecture (Fabric). Animated prose is rendered by the package's autolinked iOS and Android text component, so Expo projects must use a development or production native build. Expo Go is not supported.

Quick start

import React from 'react';
import { Streamdown } from 'streamdown-native';

export function Message({ markdown, done }: { markdown: string; done: boolean }) {
  return (
    <Streamdown
      mode="streaming"
      animated
      isAnimating={!done}
      isComplete={done}
      theme="dark"
    >
      {markdown}
    </Streamdown>
  );
}

Use mode="static" for complete documents. StreamdownRN and the default export are aliases of Streamdown.

Sample app

The Expo 56 sample app exercises native fadeIn and slideUp streaming at multiple chunk rates, static rendering, themes, tables, task lists, code, math, Mermaid, CJK/RTL text, incomplete Markdown, native actions, and long-stream performance.

bun install
bun run sample:android
# or
bun run sample:ios

The commands launch self-contained Release/Hermes builds, so they do not depend on Metro. Each run recreates the ignored .sample/expo56 workspace and packs the current library source, preventing stale native or JavaScript bundles from hiding local changes.

See examples, screenshots, video, and performance graphs for the recorded iOS showcase and reproducible metrics.

Features

  • CommonMark and GFM rendering with incomplete-stream repair and append-aware block caching.
  • Native-frame fadeIn and slideUp token animation for prose, with Unicode grapheme-safe word/character segmentation and Reduce Motion support.
  • Native headings, lists, tables, links, images, task controls, focus, and accessibility semantics.
  • Light, dark, and custom semantic themes.
  • Capability-backed clipboard, file, share, link approval, focus, announcement, and gesture actions.
  • Optional code, cjk, renderers, math, mermaid, and mermaid/webview entry points.
  • Typed semantic slots plus compatibility support for custom components.
  • Explicit input limits, URL sanitization, and host-controlled native side effects.

Documentation

Verify

bun install --frozen-lockfile --ignore-scripts
bun run type-check
bun run test
bun run pack:verify

The full parity and release gates require the pinned Vercel Streamdown checkout and candidate-bound device evidence. See release gates for the exact process.

Credits

This project builds on work from:

Thank you to the maintainers and contributors of each project. See NOTICE and third-party notices for license details.

License

Apache-2.0. See LICENSE.