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

@kinetixui/iot

v0.2.0

Published

KinetixUI IoT — a connected-device module for building products that pair, monitor, control and troubleshoot devices. Experimental.

Downloads

288

Readme

@kinetixui/iot

KinetixUI IoT is a connected-device module for building products that pair, monitor, control, and troubleshoot devices.

Experimental. The API may change without a major version while it finds its shape.

npm install @kinetixui/iot

What it is

A product semantic layer for connected devices: the models, the classification rules and five small React primitives, generic enough for smart agriculture, medical devices, smart home, industrial dashboards, fleet and logistics, and wearables.

import { classifyBatteryLevel, formatLastSeen, type KinetixDevice } from "@kinetixui/iot/functions";
import { DeviceStatusBadge, SensorReading } from "@kinetixui/iot/react";

| import | contains | | -------------------------- | ------------------------------------------------- | | @kinetixui/iot | everything | | @kinetixui/iot/functions | models and pure functions — no React | | @kinetixui/iot/react | the five React primitives |

What it is not

Not a transport. There is no MQTT, BLE, WebSocket or HTTP client here, no vendor adapter, and no code that parses or executes a device payload. Nothing in this package opens a connection or holds a credential. It models what a device is, so the layer that talks to one has something honest to render into.

The recurring design rule

Every classifier separates "we do not know" from a value. A device that does not report a battery is not a device with a flat one; an undated reading is not a fresh one; a firmware pair that cannot be compared is not up to date. Each of those is a place where a convenient default becomes a lie the UI tells about someone's hardware, so unknown is a first-class result rather than a fallback.

No dependencies, including no KinetixUI ones

This package has zero runtime dependencies and does not import @kinetixui/tokens or @kinetixui/ui, not even as a peer. Two reasons:

Nothing is imported at runtime. The primitives style themselves with Tailwind utilities on the KinetixUI token contract (bg-muted, text-label-md). Those are class names, not imports.

A peer range would be a claim with nothing behind it. A peer range says "bring me a @kinetixui/tokens in this range and I will work", and it has to be maintained as a claim: when the token version moves outside it, someone has to verify the package against the new contract and widen it deliberately (RELEASING.md → Peer ranges across cohorts). Nothing here imports the tokens package, so there is nothing to verify and no compatibility to claim — the range would only ever be a number to keep in step. A documented prerequisite says the same thing without pretending to be resolvable.

So the prerequisite is stated instead of depended on. For the React primitives to look right, an app needs the KinetixUI token stylesheet loaded and this package inside its Tailwind content:

// tailwind.config.js
content: ["./src/**/*.{ts,tsx}", "./node_modules/@kinetixui/iot/dist/**/*.js"],

The functions subpath needs none of that, and no renderer either.

Accessibility

Each primitive renders its fact as text, so the reading survives greyscale, forced-colors mode and a screen reader. Colour is always a second encoding of something already written down. Where a visual shorthand is used — a battery bar, a signal meter, 5m ago — the visuals are hidden from assistive technology and the full sentence is supplied as the accessible name, so nothing is announced twice and nothing is announced only as an abbreviation.

Those sentences come from the pure half (describeBattery, describeSignal, describeLastSeen), so the text a screen reader receives is covered by the same unit tests as the classification.

No primitive animates, so there is nothing for prefers-reduced-motion to suppress — asserted, not assumed.

Documentation

https://kinetixui.com/docs/iot