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

@bcts/multipart-ur

v1.0.0-beta.0

Published

Multipart UR QR code generator - single-frame and animated fountain-coded QR sequences with optional logo overlay.

Readme

Blockchain Commons Multipart UR for TypeScript

Disclaimer: This package is under active development and APIs may change.

Introduction

@bcts/multipart-ur is a multipart Uniform Resource (UR) QR code generator. It produces single-frame and animated fountain-coded QR sequences — suitable for transmitting arbitrarily large UR-encoded payloads through an airgap — with an optional logo overlay.

This package provides:

  • Single-frame QR code rendering from raw bytes or UR strings
  • Logo overlay with module-aligned compositing (square or circle clear shape)
  • Animated multipart fountain-coded QR sequences (GIF output)
  • ProRes 4444 encoding via optional ffmpeg integration (Node only)
  • Frame dump as numbered PNGs for custom pipelines
  • Configurable QR error correction level, colors, quiet zone, and module size
  • Density safety checks to prevent unreadable QR codes
  • CLI tool mur with single, animate, and frames subcommands

The library is browser-compatible. The mur CLI and the encodeProres helper require Node.js; ProRes output additionally requires ffmpeg on PATH.

Specification

Built on top of the Uniform Resources (UR) specification — specifically its multipart fountain-coded form for QR animations.

Rust Reference Implementation

This TypeScript implementation is based on bc-mur-rust v0.1.0 (commit).

Install

bun add @bcts/multipart-ur

Usage

import { Color, CorrectionLevel, renderUrQr } from "@bcts/multipart-ur";

const img = renderUrQr(
  "ur:bytes/hdcxdwinvezm",
  CorrectionLevel.Low,
  512, // target pixel size (square)
  Color.BLACK,
  Color.WHITE,
  1, // quiet zone modules
  null, // no logo
);
const pngBytes = img.toPng();

CLI

mur single ur:bytes/hdcxdwinvezm -o out.png
mur animate ur:bytes/... -o out.gif
mur frames ur:bytes/... -o out_frames/