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

@scribemd-ai/mobile-sdk

v0.4.4

Published

Embeddable ScribeMD medical scribe for React Native: live transcription, clinical note generation, and a drop-in session UI

Readme

ScribeMD Mobile SDK

npm license platforms

Drop a complete ScribeMD medical scribe into your React Native app — microphone capture, real-time transcription, and AI clinical-note generation — behind two components and a single accent color you control.

import { ScribeMDProvider, ScribeSession } from '@scribemd-ai/mobile-sdk';

<ScribeMDProvider sessionToken={sessionToken}>
  <ScribeSession
    onComplete={({ transcript, note }) => {
      // the generated clinical note is ready — persist or display it
    }}
  />
</ScribeMDProvider>

Features

  • 🎙️ Live transcription — streams the visit audio and shows the transcript in real time.
  • 🧠 AI clinical notes — a structured note is generated from the conversation when the session ends.
  • 🩺 Two capture modes — ambient Visit (rolling audio segments) and live Dictation (streaming), selectable per session.
  • 📴 Offline-first — visit audio is journaled to disk and survives process death; an interrupted session is finalized automatically on the next launch.
  • ✍️ In-app note review — tap-to-edit sections, with an optional TipTap rich-markdown editor (the same engine as the ScribeMD web app).
  • 🌍 Five locales — English, Hebrew, Arabic, French, Spanish, with automatic RTL layout.
  • 🎨 Themeable — one accent color themes the whole UI; light and dark supported.
  • 📱 iOS + Android, bare React Native and Expo, new architecture.

Install

npm install @scribemd-ai/mobile-sdk

Bare React Native apps also need the Expo Modules API and the file-system peer (used for visit mode + offline recovery):

npx install-expo-modules@latest
npx expo install expo-file-system
cd ios && pod install

See INTEGRATION.md for iOS/Android setup, the full prop reference, the error contract, and platform requirements.

Quick start

  1. Your backend exchanges a clinician's identity for a one-time session token (never ship your API key in the app).
  2. Your app passes that token to <ScribeMDProvider>; it exchanges it once and keeps the resulting credentials in memory only.
  3. Render <ScribeSession> and handle onComplete.
import { ScribeMDProvider, ScribeSession } from '@scribemd-ai/mobile-sdk';

export function VisitScreen({ sessionToken }: { sessionToken: string }) {
  return (
    <ScribeMDProvider sessionToken={sessionToken}>
      <ScribeSession
        patientContext={{ patientId: '4482' }}
        finishControl={{ label: 'Finish visit' }}
        theme={{ accent: '#1E40AF' }}
        onComplete={({ transcript, note }) => {
          // send `note` to your EHR, or show it for review
        }}
      />
    </ScribeMDProvider>
  );
}

Full authentication flow, every prop, and the offline/recovery model are documented in INTEGRATION.md.

Platforms

| Platform | Minimum | Notes | | --- | --- | --- | | iOS | per your RN version | Needs NSMicrophoneUsageDescription; add the audio background mode to keep recording alive when backgrounded. | | Android | per your RN version | Uses a microphone-typed foreground service; the SDK requests RECORD_AUDIO at runtime. |

Development

bun install        # SDK dependencies
bun run build      # compile TypeScript to build/
bun run lint

Run the example app (bare React Native)

cd example-bare
bun install
cd ios && pod install && cd ..   # iOS only
bun start                        # Metro
# in another terminal:
bunx react-native run-ios        # or run-android

Enter a session token (production path) or a dev API token, plus a patient id, then start a session. The example symlinks the SDK from the repo root, so SDK edits reload live (see example-bare/metro.config.js for the required Metro blockList).

License

Apache-2.0 © ScribeMD, Inc.