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

@thermal-label/letratag-core

v0.6.1

Published

Core protocol, status parser, and media registry for the DYMO LetraTag LT-200B

Readme

@thermal-label/letratag-core

CI npm License: MIT

Core protocol encoder, status parsers, and media / device registries for DYMO LetraTag LT-200B — a BLE-only handheld label printer.

This package is the shared foundation used by the browser package @thermal-label/letratag-web. There is no Node package today (no Node BLE GATT transport in @thermal-label/transport yet).

Install

pnpm add @thermal-label/letratag-core

Quick start

import {
  encodeLabel,
  parseStatus,
  parseAdvertisingStatus,
  DEVICES,
} from '@thermal-label/letratag-core';
import { renderText } from '@mbtech-nl/bitmap';

const device = DEVICES.LT_200B;
const bitmap = renderText('Hello LetraTag', { headDots: 32 });

// `encodeLabel` returns the framed BLE payload: header + chunked body.
const payload = encodeLabel(bitmap, device.engines[0], {
  copies: 1,
  cut: true,
  mtu: 247, // BLE 4.2 negotiated link MTU
});

// Ship `payload` to the printer's write-without-response TX
// characteristic via your transport of choice.

API highlights

  • encodeLabel(bitmap, engine, options) — full job encoder (header + directives + image + chunking).
  • parseStatus(bytes) — 3-byte RX notification parser (job-result code).
  • parseAdvertisingStatus(bytes) — 3-byte BLE advertising-data parser (cassette presence, battery, error flags — readable without a connection).
  • DEVICES / findDevice(vid, pid) — device registry.
  • MEDIA / findMediaBySku(sku) — media registry (10 LT cassettes).
  • renderImage, renderText re-exported from @mbtech-nl/bitmap.

Wire protocol

The full protocol spec lives at thermal-label.github.io/letratag/protocol/letratag-bt. The encoder in this package implements that spec.

Documentation

Full TypeDoc reference, getting-started guide, and the wire protocol: thermal-label.github.io/letratag/core.

1 devices — 1 verified · 0 partial · 0 broken · 0 untested

| Model | Key | USB PID | Transports | Status | | --- | --- | --- | --- | --- | | LetraTag LT-200B | LT_200B | — | BT LE | ✅ verified |

Click any model to open its detail page on the docs site, where engines, supported media, and verification reports live. The same data backs the interactive cross-driver table.