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

@slavasolutions/mosaic-spec

v0.5.0

Published

Mosaic — a portable document format for structured web content. This package ships the normative spec (spec.md) and the JSON Schema 2020-12 validator (mosaic.schema.json) for the mosaic.json site schema. The format is independent of any rendering engine;

Readme

Mosaic

A portable document format for structured web content.

A Mosaic document is a directory tree on disk: mosaic.json describing the site's content shapes, plus content records in content/, plus assets in assets/. Any conforming reader can parse it, validate it, and render it.

The format is independent of any rendering engine. You can build a Mosaic document by hand, generate it from a CMS, or produce it as the output of a static site generator. Anyone can read it.

Status

v0.5 — current. Stripped portable-format release. Breaking changes between minor versions are possible until v1.0.

See spec.md for the normative specification. Read Appendix F first if you want to know what got cut from earlier drafts and why.

What's here

  • spec.md — normative specification (the source of truth)
  • mosaic.schema.json — JSON Schema 2020-12 for mosaic.json (static-shape validator; see spec Appendix D)
  • examples/ — example Mosaic documents (document-only, no rendered output)
  • proposals/ — Mosaic Improvement Proposals (MIPs)
  • CONTRIBUTING.md — how to propose changes
  • AGENTS.md — rules for LLMs and coding agents working in this repo

Superseded spec drafts (v0.1, v0.2-draft, v0.3-proposal) are not kept as files — see git history.

What this is not

Mosaic is not a CMS, a renderer, or a JavaScript library. It's a file format. Implementations of the format are separate projects.

The reference implementation is Clear, a live-editing engine that reads and writes Mosaic documents. Other implementations are encouraged.

Implementations

| Project | Conformance | Notes | | --- | --- | --- | | Clear | Level 2 (Reader + Writer) | Live-editing engine; reference implementation |

To list a new implementation, open a PR adding a row.

License

Spec text: CC0 1.0 Universal (public domain). Use it however you want, including in commercial products, without attribution.

Code in this repo (validators, schema tooling, etc.) is MIT-licensed unless otherwise noted.