Skip to main content

Various stuff/zeug for typescript for deno, the web and some parts for node. It contains a mqtt5 and msgpack implementation

This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
64%
Published
2 months ago (1.0.18)

ts-zeug

Various stuff/zeug for typescript for deno, the web and some parts for node. It contains

  • a mqtt 5 implementation (PubAckPacket, PubRecPacket, PubRelPacket, PubCompPacket are not yet implemented)
  • a feature complete msgpack implementation

MQTT Client example

deno run --allow-net mqtt-client.ts

Tests

deno test

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@bernd/ts-zeug

Import symbol

import * as ts_zeug from "@bernd/ts-zeug";
or

Import directly with a jsr specifier

import * as ts_zeug from "jsr:@bernd/ts-zeug";

Add Package

pnpm i jsr:@bernd/ts-zeug
or (using pnpm 10.8 or older)
pnpm dlx jsr add @bernd/ts-zeug

Import symbol

import * as ts_zeug from "@bernd/ts-zeug";

Add Package

yarn add jsr:@bernd/ts-zeug
or (using Yarn 4.8 or older)
yarn dlx jsr add @bernd/ts-zeug

Import symbol

import * as ts_zeug from "@bernd/ts-zeug";

Add Package

npx jsr add @bernd/ts-zeug

Import symbol

import * as ts_zeug from "@bernd/ts-zeug";

Add Package

bunx jsr add @bernd/ts-zeug

Import symbol

import * as ts_zeug from "@bernd/ts-zeug";