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

@q9labsai/chalk-whiteboard

v5.4.1

Published

Readme

@q9labsai/chalk-whiteboard

Reusable Chalk whiteboard behavior for SDKs and first-party applications.

  • @q9labsai/chalk-whiteboard exports framework-neutral whiteboard contracts.
  • @q9labsai/chalk-whiteboard/collab exports the Excalidraw collaboration and file synchronization engine.
  • @q9labsai/chalk-whiteboard/react exports WhiteboardCanvas, math authoring, and React-facing whiteboard types.
  • @q9labsai/chalk-whiteboard/embedded exports the versioned native bridge, ChalkWhiteboardController, and the compatibility manifest used by mobile hosts.

WhiteboardCanvas owns Excalidraw loading, collaboration lifecycle, cursor and scene updates, file synchronization, and math elements. Its classNames and icons props let each surface provide presentation without reimplementing that behavior. @q9labsai/chalk-react supplies Chalk's styled WhiteboardView as a thin wrapper around this component.

The embedded build is generated by pnpm run build:embedded. It produces a self-contained dist/embedded/chalk-whiteboard directory with Excalidraw 0.18.1, its fonts, MathJax, license notices, a content-security policy, and SHA-256 asset metadata. The renderer is offline-only. Authentication credentials, Sync tokens, storage signatures, and signed URLs remain in the native JavaScript host and are never posted into renderer JavaScript.

The native bridge uses exact build, protocol, renderer-generation, and scene-generation checks. Messages are strictly decoded and bounded to 32 MiB, duplicate message IDs are ignored, and a reload requests a canonical snapshot instead of trusting renderer state. Documents containing a required element type outside packages/whiteboard/src/embedded/compatibility-manifest.json open read-only with an “Update required” message.

The canonical whiteboard-v1 transport keeps the existing 128-element and 256-KiB per-frame limits, then carries larger logical updates as atomic multipart operations. A logical update can contain at most 10,000 elements, 128 parts, and 16 MiB of encoded frames. Incomplete inbound operations are never exposed to the renderer and recover by requesting a new snapshot after 10 seconds.