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

@fastenhealth/fasten-stitch-element-react-native

v1.0.0

Published

A lightweight React Native SDK that embeds the Fasten Connect experience inside any React Native application. The package wraps the Stitch.js workflow in a pair of coordinated `WebView`s so you can authenticate with provider portals and receive connection

Readme

Fasten Connect React Native SDK (Beta)

A lightweight React Native SDK that embeds the Fasten Connect experience inside any React Native application. The package wraps the Stitch.js workflow in a pair of coordinated WebViews so you can authenticate with provider portals and receive connection events without leaving your native app.

Status: Beta – APIs may change and you should validate the integration in your environment before shipping to production.

Installation

Add the package to your project along with its React Native peer dependency:

npm install @fastenhealth/stitch-react-native react-native-webview
# or
yarn add @fastenhealth/stitch-react-native react-native-webview

react-native-base64 is bundled with the SDK. If you do not already have react-native-webview installed, follow the official installation guide for your platform(s).

Usage

import { FastenStitchElement } from 'fasten-connect-stitch-react-native';

const CUSTOMER_PUBLIC_ID = 'public_test_...';

export const ConnectScreen = () => (
  <FastenStitchElement
    publicId={CUSTOMER_PUBLIC_ID}
    debugModeEnabled
    onEventBus={(event) => {
      console.log('Fasten event', event);
    }}
  />
);

FastenStitchElement renders to fill the available space, so wrap it in a container that matches how you want it to appear in your layout (e.g., a View with flex: 1).

Props

The component accepts the following options (matching the Stitch.js widget configuration):

  • publicId (required) – Your Fasten Connect public identifier.
  • externalId – Identifier you want to associate with the patient/session.
  • reconnectOrgConnectionId – Reconnect a previously established patient connection.
  • searchOnly, searchQuery, searchSortBy, searchSortByOpts, showSplash – Configure the provider search experience.
  • brandId, portalId, endpointId – Restrict the experience to a specific brand/portal/endpoint.
  • tefcaMode - Enable TEFCA flows
  • eventTypes – Comma-delimited list of event types to receive.
  • debugModeEnabled – Surfaces debugging tools in the embedded web views.
  • onEventBus – Callback invoked with parsed payloads sent from Fasten Connect (e.g., when a connection is created).

Refer to FastenConnectOptions in src/FastenStitchElement.tsx for the complete, documented type definition.

Building the SDK locally

Transpile TypeScript to the distributable dist/ folder:

npm run build

Feedback

Please open an issue with any bugs or requests. Your feedback will help us stabilize the public SDK interface.