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

@flyos/design-system-board

v1.0.2

Published

FlyOS design system — structured Tool x Perspective canvas board with an optional Yjs CRDT model. Deliberately NOT part of the design-system bundle or its Native Federation singleton: it carries the Yjs stack, which only board-using apps should pay for.

Readme

@flyos/design-system-board

FlyCanvasBoardComponent (<fly-canvas-board>) — the structured-grid / matrix collaborative board (Tool × Perspective), extracted out of @flyos/design-system so the core design system doesn't carry the yjs dependency.

This package is deliberately NOT a Native Federation shared singleton — unlike @flyos/design-system, it is not registered in the shell's federation.config.js shared block. Only the apps that actually use the canvas board pull it in.

yjs is an optional peer dependency, not a bundled one

yjs is declared under peerDependencies (with peerDependenciesMeta.yjs.optional = true), never under dependencies. This is load-bearing, not cosmetic: a Y.Doc is only interoperable with other Y.Doc instances created from the same module instance of yjs — Yjs relies on instanceof checks and module-level shared state internally. If this package bundled its own copy of yjs, any host that also uses yjs (e.g. through yjs-bridge or another Yjs-backed feature) would end up with two separate yjs module instances, and cross-instance Y.Doc/Y.applyUpdate operations would silently fail or throw. Keeping yjs a peer dependency guarantees a single yjs instance across the whole federation, resolved once by the host application.

Only import canvasBoardFromSnapshot / canvasBoardToSnapshot / applyCanvasBoardOp (the optional canvas-board-model.ts surface) if your host already depends on yjs for realtime collaboration through the yjs-bridge sidecar. FlyCanvasBoardComponent itself never imports yjs — it is a pure data-contract renderer (bind a FlyCanvasBoardSnapshot, react to typed FlyCanvasBoardOps via (op)).