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

@dg-kit/transport-tauri-blec

v1.13.0

Published

Tauri Android/iOS DeviceClient for DG-Lab Coyote (BLE via @mnlphlp/plugin-blec)

Readme

@dg-kit/transport-tauri-blec

Tauri 2 BLE clients for the DG-Lab device family, backed by a multi-device fork of @mnlphlp/plugin-blec.

Mirror of @dg-kit/transport-webbluetooth for non-browser runtimes (Tauri Android primary target; desktop / iOS work as a side-effect of plugin-blec's btleplug backend).

The host application owns the device-picker UI: every client in this package calls back into a selectDevice function it receives from the constructor. Web Bluetooth's native chooser does not exist outside the browser.

Multiple concurrent connections

Upstream @mnlphlp/plugin-blec only tracks one connected device at a time. This package is pinned to 0xNullAI/tauri-plugin-blec-multi, a fork that lets several devices stay connected concurrently (each call scoped by BLE address), so a Coyote host and an auxiliary device (Opossum vibrate controller, paw-prints, civet-edging) can be connected at the same time from the same app.

Dependency wiring: package.json points @mnlphlp/plugin-blec at the fork via a git URL (git+https://github.com/0xNullAI/tauri-plugin-blec-multi.git#main) rather than a version on the npm registry. This is an interim measure — the fork hasn't been published under its own npm name yet. It keeps the import path (@mnlphlp/plugin-blec) and every downstream import statement in this package unchanged, at the cost of npm installs depending on GitHub being reachable and the fork's prepare script (rollup -c) running on install (its build output isn't committed). Once the fork is published under a scoped name (e.g. @0xnullai/tauri-plugin-blec-multi) or upstreamed, swap this one line back to a registry version — no other code in this package needs to change, since everything talks to the PluginBlecApi shim in plugin-blec.ts, not the raw module.

Clients in this package, one per device kind, each independently connectable/disconnectable by BLE address:

  • TauriBlecDeviceClient — Coyote (V2/V3), implements @dg-kit/core's DeviceClient.
  • TauriBlecOpossumClient — Opossum vibrate controller, wraps @dg-kit/protocol's OpossumVibrateAdapter.
  • TauriBlecPawPrintsClient / TauriBlecCivetEdgingClient (both TauriBlecSensorClient<TReading> instances) — paw-prints / civet-edging sensors, wrap PawPrintsSensorAdapter / CivetPressureSensorAdapter.

The Opossum/sensor clients are built on connectTauriAuxDevice/disconnectTauriAuxDevice (aux-connect.ts), the Tauri equivalent of DG-Agent's device-webbluetooth package's connectAuxDevice/disconnectAuxDevice helpers for Web Bluetooth — same connect-before-replacing-the-previous-device ordering, same gattserverdisconnected-event wiring (synthesized here by createGattShim, one shim per device address), just backed by a scan+picker+plugin-blec.connect() flow instead of navigator.bluetooth.requestDevice().