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

hxtp-js

v1.1.0

Published

HxTP/3.0 client SDK — HMAC-SHA256 signed protocol for IoT device communication. Browser, Node.js, Bun, Deno, React Native.

Readme

hxtp-js

Version License Environment

HxTP/3.1JavaScript/TypeScript Client SDK — A high-performance implementation of the Ed25519-signed IoT protocol. Designed for speed, security, and zero runtime dependencies.


Key Features

  • Lightweight: Zero runtime dependencies. Tree-shakeable ESM build.
  • HxTP/3.1 Core: Pipe-separated framing with mandatory backslash escaping and NFC normalization.
  • Native MQTT: High-performance transport support via MQTTTransport.
  • Universal: Works in Browser, Node.js 18+, Bun, Deno, and React Native.
  • Anti-Replay: Integrated nonce generation and monotonic sequence enforcement.
  • Pluggable: Customizable transport (MQTT/REST/WS) and crypto providers.

Installation

# bun (recommended)
bun add hxtp-js

# npm
npm install hxtp-js

⏱ Quick Start

Native MQTT Command Execution

import { Client } from "hxtp-js";
import { MQTTTransport } from "hxtp-js/transport/mqtt";
import { NodeCryptoProvider } from "hxtp-js/crypto/node";

const client = new Client({
 url: "https://api.hestialabs.in/api/v1",
 tenantId: "your-tenant-uuid",
 deviceId: "your-device-uuid",
 clientId: "unique-client-id",
 signingKey: "64-char-hex-private-key",
 crypto: new NodeCryptoProvider()
});

// Use native MQTT for sub-millisecond dispatch
const mqtt = new MQTTTransport({ url: "tcp://broker.hestialabs.in:1883" });
client.setTransport(mqtt);

await mqtt.connect();

// Send a signed command via MQTT
const response = await client.sendCommand("light-1", "toggle", { power: true });

console.log(" Command Sent:", response.messageId);

Architecture

The SDK is built with a strictly modular architecture to support diverse environments.

hxtp-js
├── core/      Protocol-agnostic core logic
│  ├── canonical  HxTP/3.1 Pipe-separated builder
│  ├── signing   Ed25519 signature engine
│  ├── validation 7-step protocol validation pipeline
│  ├── envelope  Signed message envelope builder
│  └── nonce    Replay protection & nonce management
├── crypto/     Environment-aware crypto providers
│  ├── node    Node.js native (node:crypto)
│  └── web     Web Crypto API (Browser/RN/Deno)
└── transport/   Pluggable transport layer
  ├── mqtt    Native MQTT transport
  └── websocket  Secure WebSocket implementation

Protocol Alignment: HxTP/3.1

This SDK implements HxTP/3.1 with bit-perfect parityto the Go, Python, and Embedded SDKs.

| Component | Status | Details | | :--- | :--- | :--- | | Framing| | Pipe-separated (\|) with mandatory backslash escaping. | | Normalization| | Mandatory Unicode NFCnormalization for all fields. | | Numbers| | Deterministic decimal strings (up to 20 places). | | Compliance| | Verified against the cross-language compliance suite. |


License

This project is licensed under the MIT License. See LICENSE for details.

Copyright © 2026 Hestia Labs run test # Run Vitest suite


---

## License

This project is licensed under the **MIT License**. See [LICENSE](LICENSE) for details.

Copyright © 2026 **Hestia Labs**