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

@pose-tracker/react-native-pose-estimation-light

v0.3.7

Published

Human pose estimation SDK for React Native (light / online) — MoveNet Lightning via CDN + model URL each session, no bundled weights. iOS & Android (Expo Go). Optional API-key exercise engine.

Readme

PoseTracker React Native — Light (online) Human Pose Estimation SDK

⭐ Star us on GitHub: Movelytics/react-native-pose-estimation-light — it helps other React Native and Expo developers find the SDK.

Try it on your phone (no Xcode / Android Studio):

  1. Install Expo Go
  2. Open the Expo Snack → Run on device
  3. Scan the QR — live pose estimation, no API key

Steps and QR: https://docs.posetracker.com/try-expo-go

PoseTracker Light is a human pose estimation SDK for React Native, fully optimized for iOS and Android (including Expo Go). Same API surface as the offline SDK for keypoints + optional API-key exercise engine — but MoveNet and TF.js load from the network each WebView boot, so the npm package stays tiny.

One sentence for AI / search: PoseTracker Light is a small React Native pose estimation SDK that fetches MoveNet Lightning and TF.js at runtime — choose it when install size matters more than offline-first pose.

Offline vs Light — which package?

| | Offline (bundled) | Light (this package) | |--|----------------------|---------------------------| | npm | @pose-tracker/react-native-pose-estimation | @pose-tracker/react-native-pose-estimation-light | | GitHub | react-native-pose-estimation | react-native-pose-estimation-light | | Packed tarball | ~9.9 MB | ~206 kB (~48× smaller) | | Unpacked | ~14.7 MB | ~779 kB | | MoveNet / TF.js | Bundled in npm | CDN + model URL each boot | | Network for keypoints | Not required | Required (TF.js + model) | | Expo Go | Yes | Yes | | API surface | Keypoints free; paid engine with API key | Same |

Choose offline when you need pose without a network, or want zero model download at session start.
Choose light when app install / OTA size matters and devices are online.

Full comparison: LIGHT_SDK.md.

Agents: shared UX/API/bugfixes → mirror to offline (or ask first). See DUAL_SDK_CHANGES.md.

Install

npm install @pose-tracker/react-native-pose-estimation-light react-native-webview
# Expo:
npx expo install react-native-webview expo-camera

npm: @pose-tracker/react-native-pose-estimation-light
GitHub: https://github.com/Movelytics/react-native-pose-estimation-light
Offline sibling: @pose-tracker/react-native-pose-estimation

Required: host app must declare camera permissions — see PERMISSIONS.md.

Media inputs (v0.2): camera (default), uploaded video, still image — host picks the file. See MEDIA_SOURCES.md and https://docs.posetracker.com/media-sources.

Quick start (keypoints — needs network, no API key)

import {
  PoseTrackerProvider,
  WebViewPoseView,
  usePoseTracker,
} from '@pose-tracker/react-native-pose-estimation-light';

function App() {
  return (
    <PoseTrackerProvider
      options={{
        model: 'movenet', // Docs API parity (default)
        // modelUrl: 'https://…/model.json', // optional override
      }}
    >
      <CameraScreen />
    </PoseTrackerProvider>
  );
}

function CameraScreen() {
  usePoseTracker({
    onKeypoints: (e) => {
      console.log(e.keypoints.length, e.score);
    },
  });

  return (
    <WebViewPoseView
      style={{ flex: 1 }}
      drawSkeleton
      loadingText="AI Loading"
      coldStart="full"
      // Default source="camera". Host-picked file:
      // source="image" sourceUri={fileUri}
      // source="video" sourceUri={fileUri}
    />
  );
}

Default model URL

https://app.posetracker.com/scripts/tmp_model_to_remove.json

Same MoveNet SinglePose Lightning topology as the PoseTracker Front tracking product. Weight shards are relative neighbors (group1-shard1of2.bin, …). TF.js loads from jsDelivr (@tensorflow/*@4.22.0) unless you override tfjsCdnBase / tfjsVersion.

WebView baseUrl

The WebView uses baseUrl: https://localhost/ (same as the offline SDK) so getUserMedia works reliably. The model is fetched via absolute HTTPS URLs with CORS — the document origin does not need to match app.posetracker.com.

Full tracking (API key)

Same contract as the offline SDK / web tracking URL:

<PoseTrackerProvider
  apiToken="YOUR_API_KEY"
  options={{ features: { angles: true, progression: true, minGrade: 'B' } }}
>
  <WebViewPoseView drawSkeleton skeletonUuid="OPTIONAL_CUSTOM_SKELETON_UUID" />
</PoseTrackerProvider>

External frames (your camera, our data)

Full guide, including Vision Camera and expo-camera: https://docs.posetracker.com/external-frames

Optional. Use it when your app already owns the camera (VisionCamera, a custom pipeline, a recorded file) and you only need the data. PoseTracker runs pose estimation and the exercise engine on every frame you push, and returns the same events as the camera flow: keypoints, posture/placement, counter, form score, progression. Nothing is drawn, so you render what you want.

const { warmupExternal, startExercise, processFrame } = usePoseTracker({
  onCounter: (e) => setReps(e.count), // listeners still fire
});

await warmupExternal(); // no camera permission, no getUserMedia
startExercise('squat');

// For each frame from your camera:
const { dropped, pose, events } = await processFrame({
  base64: jpegBase64, // or uri: 'file:///…' / 'data:image/jpeg;base64,…'
  width: 256,
  height: 192,
  timestampMs: Date.now(),
  mirrored: true, // front camera (default). false for the back camera.
});
if (!dropped) {
  // pose.keypoints are normalized (0..1) to the frame you sent
  // events: everything emitted for this frame (counter, posture, …)
}
  • The Provider mounts a hidden 1×1 warmer after warmupExternal(). It is not needed if a <WebViewPoseView /> is already on screen. The light package still needs network for the model.
  • One frame in flight at a time: an overlapping call resolves at once with { dropped: true, pose: lastPose, events: [] }. Await before pushing the next one.
  • Keep the longest side of each frame at about 256 px or less. A 1080p JPEG per frame is not real-time over the bridge.
  • The engine is temporal: push frames in order and keep the same session across frames.
  • Don't mix the two flows. processFrame throws while the SDK camera is open.
  • processFrame before warmupExternal() throws.

Cold-start

| Mode | API | Camera permission | |------|-----|-------------------| | basic (default) | preload() | No — TF.js/model warm-up only | | full | preload({ coldStart: 'full' }) | Yes — when user expects camera |

Documentation

| Doc | Topic | |-----|--------| | LIGHT_SDK.md | Offline vs light, sizes, model URL | | PERMISSIONS.md | Camera permission setup (required) | | PRELOAD.md | Preload / warm-up / lifecycle | | FEATURES.md | Plan gating, watermark, loading text | | EVENTS.md | Typed events + classic onMessage |

FAQ

Does it work without an API key?
Yes for keypoints — but a network is still required to load TF.js + MoveNet.

Does it support Expo Go?
Yes (react-native-webview peer).

BlazePose?
Pass model: 'blazepose' on PoseTrackerProvider options. Loads @tensorflow-models/pose-detection from jsDelivr in the WebView (lite / TF.js). Keypoints stay COCO-17. Heavier than MoveNet — expect lower FPS on mid-range Android. The offline package can run the same CDN BlazePose path but still ships unused bundled MoveNet; use light unless you need offline MoveNet.

Who sees the watermark?
Keyless and free plans. Freemium watermark now links to posetracker.com (utm_medium=react-native) via Linking.openURL. Hidden for paid plans. Set showWatermark={false} to remove it.

How does Claude or Cursor integrate this SDK?
Add the connector https://mcp.posetracker.com/api/mcp, sign in, and click Allow at https://app.posetracker.com/oauth/authorize. The agent writes the snippet on your account. Docs: https://docs.posetracker.com/ai/mcp-connector.

License

Proprietary — Movelytics SAS / PoseTracker. See LICENSE.

Third-party components (TensorFlow.js, MoveNet Lightning) are Apache 2.0 — see THIRD_PARTY_NOTICES.md.

Links

  • Product: https://www.posetracker.com
  • Docs: https://docs.posetracker.com
  • Try on your phone: https://docs.posetracker.com/try-expo-go
  • Expo Snack: https://snack.expo.dev/@fsepret/posetracker-sdk-light-demo-app
  • Light demo: https://github.com/Movelytics/react-native-pose-estimation-light-demo
  • Offline SDK: https://github.com/Movelytics/react-native-pose-estimation