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

@nituri/react-native

v0.1.0

Published

Nituri event-tracking SDK for React Native — a TurboModule over the native Android (AAR) and iOS (XCFramework) SDKs.

Readme

@nituri/react-native

React Native shell for the Nituri event-tracking SDK. A TurboModule wraps the native Android (AAR com.nituri:core-android) and iOS (XCFramework NituriCore

  • the ios-sdk Swift package) SDKs, so capture fidelity is identical to using the bare native SDKs directly.

Status — Phase A4. Landed: the JS/TypeScript layer (facade, TurboModule contract, React Navigation hook), the Android TurboModule (android/, bridging com.nituri.android.Nituri), the iOS module (ios/, bridging the Nituri Swift SDK), the Expo config plugin (app.plugin.js), and autolinking config. The JS layer is fully tested (facade marshaling + the useNituriScreens render integration test). The native modules build inside a React Native host app (codegen + published core artifacts) / CI — they are not built standalone in this repo. See _SDK-ARCHITECTURE.md §9. Remaining: native compile + a device/simulator e2e on a sample app across RN versions (arch §10 release gate) — needs the RN/Android/Xcode toolchain.

What runs where

  • Native (not JS): autocapture — taps, screen views, app lifecycle, uncaught exceptions, performance vitals — plus the queue, batching, flush, retry, and install attribution. Crashes that take down the JS bridge are still captured by the native exception handler.
  • JS: the public API surface (marshalled to native via the TurboModule) and the useNituriScreens hook that bridges React Navigation routes to $screen_view (native screen detection can't see RN routes).

Usage

import { Nituri, useNituriScreens } from '@nituri/react-native';

Nituri.initialize({ publicKey: 'pk-...', autocapture: true });

Nituri.track('checkout_started', { amount: 99 });
Nituri.identify('u_42', { identifiers: { email: '[email protected]' }, traits: { plan: 'pro' } });
Nituri.screen('Home');
Nituri.set_consent(true);            // wire to your consent banner
Nituri.handleDeepLink(url);          // forward OS deep links for attribution
const attribution = await Nituri.getAttribution();
const state = await Nituri.getState();

React Navigation screen tracking:

const navRef = useNavigationContainerRef();
useNituriScreens(navRef);
return <NavigationContainer ref={navRef}>{/* ... */}</NavigationContainer>;

Architecture support

  • New Architecture (TurboModules + Fabric) is the primary path.
  • Legacy bridge (RN < 0.75) supported for one year after the New Architecture default lands.
  • Expo: a config plugin (coming) wires the Android install-referrer permission and the iOS Info.plist entries.

Develop

npm install
npm run typecheck   # tsc --noEmit
npm test            # Jest — facade marshaling unit tests

The native modules build via the host app's Gradle / CocoaPods once added.