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

@dofek/whoop-ble

v0.1.4

Published

Reverse-engineered WHOOP strap BLE protocol and Expo iOS client

Readme

@dofek/whoop-ble

Unofficial Expo iOS client for the reverse-engineered WHOOP strap Bluetooth Low Energy protocol.

The package discovers bonded WHOOP straps, parses proprietary framed packets, captures real-time R-R intervals and inertial samples, and exposes connection and orientation events through Expo Modules.

Install

npx expo install @dofek/whoop-ble expo-modules-core

This package currently supports iOS 16.4 or later. It is not affiliated with, endorsed by, or supported by WHOOP. The protocol is undocumented and may change without notice.

Protocol details and provenance are documented in docs/whoop-ble-protocol.md. Native Swift applications can use the separately tagged WhoopBLE Swift package.

This native module requires a development build; it does not run in Expo Go. The consuming iOS app must provide NSBluetoothAlwaysUsageDescription. Background capture additionally requires the bluetooth-central background mode. See Expo's local app development guide and Apple's NSBluetoothAlwaysUsageDescription documentation.

Usage

import {
  connect,
  findWhoop,
  peekBufferedRealtimeData,
  startRealtimeHr,
} from "@dofek/whoop-ble";

const device = await findWhoop();
if (device) {
  await connect(device.id);
  await startRealtimeHr();
  const samples = await peekBufferedRealtimeData();
}

The root module also exports connection-state diagnostics, IMU and optical stream controls, orientation events, reconnect support, and peek-then-confirm buffer drains. Use the peek/confirm pair when uploading samples so data is only removed after the upload succeeds.

Runtime, Stability, and Errors

  • Node.js 22.14 or later is required by the package tooling.
  • iOS 16.4 or later is required by the Expo pod.
  • Connection and readiness failures reject with specific error codes and messages from the native module.
  • WHOOP firmware updates may change the private protocol without notice.

License and Contributions

Licensed under the MIT License. Source is maintained in the Dofek repository. Report issues or propose changes through GitHub.