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

@hia-doc/schemas

v0.1.0

Published

Machine-readable JSON Schema distribution for HIA documentation contracts.

Readme

@hia-doc/schemas

Machine-readable JSON Schema distribution for HIA documentation contracts.

This package is a versioned snapshot catalog. Contract ownership remains with the package named by each catalog entry; @hia-doc/schemas does not redefine or independently version those contracts.

API

import { getHiaSchema, HIA_SCHEMA_CATALOG, listHiaSchemas } from "@hia-doc/schemas";

const coreSchema = getHiaSchema("hia-document");
const sameSchema = getHiaSchema(coreSchema?.$id ?? "");
const schemas = listHiaSchemas();

Every returned schema is a defensive copy.

JSON Exports

The package exports its catalog and each schema as JSON:

import catalog from "@hia-doc/schemas/catalog.json" with { type: "json" };
import profileSchema from "@hia-doc/schemas/documentation-profile.schema.json" with { type: "json" };
import producerResultSchema from "@hia-doc/schemas/documentation-producer-result.schema.json" with { type: "json" };

The canonical public schema root is:

https://mandolin.github.io/HIA-Documentation/schemas/

Every catalog entry exposes a versioned publicUrl equal to the schema $id. The Pages site also publishes package-style unversioned aliases for convenient retrieval; aliases do not replace canonical ids.

Use pnpm --filter @hia-doc/schemas sync:check to verify the snapshots against their owner package exports. Use sync only after intentionally changing an owner schema.

Validator Policy

The package does not select or bundle a JSON Schema validator. Consumers may use a Draft 2020-12 implementation for structural validation and should use the owning runtime validator for semantic checks such as cross-reference, path and privacy rules.

Status

This workspace package is not yet a public npm release. The GitHub Pages namespace, @hia-doc scope and MIT license are approved, and the initial Pages deployment is online. New producer schemas will become public when the W-P11.1 changes are committed and the schema workflow succeeds. Public npm publication still requires release versions, operational npm ownership and Trusted Publishing setup.