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

@fidemark/badge

v0.2.1

Published

Fidemark verification badge, React component + Web Component embed

Downloads

495

Readme

@fidemark/badge

A drop-in verification badge for content attested with Fidemark.

Embeddable verification badge for the Fidemark content-provenance protocol. One package ships two consumers:

  • React component: import { FidemarkBadge } from "@fidemark/badge" (~3 KB ESM, React 18+ peer).
  • Web Component: import "@fidemark/badge/web-component" registers <fidemark-badge> globally (~4 KB ESM, plus an IIFE bundle for <script> tags). No React required at runtime.

The badge fetches /api/attestation/<uid> from https://verify.fidemark.dev (override via apiBase / api-base), renders a Human / AI / Multi-party / Verified-human pill, and links out to the public verify page.

Install

npm install @fidemark/badge
# or:  pnpm add @fidemark/badge
# or:  yarn add @fidemark/badge

React 18 or newer is a peer dependency for the React component entry. The web-component entry has no peer dependency.

Usage

React

import { FidemarkBadge } from "@fidemark/badge";

export function ArticleFooter({ uid }: { uid: string }) {
  return <FidemarkBadge uid={uid} theme="light" />;
}

Props:

| Prop | Type | Default | Notes | | --------- | --------------------- | -------------------------------- | -------------------------------------------------- | | uid | string | required | Attestation UID. | | apiBase | string | https://verify.fidemark.dev | Origin that hosts the JSON API + verify page. | | theme | "light" \| "dark" | "light" | Visual theme. |

Web Component

<script type="module" src="https://cdn.jsdelivr.net/npm/@fidemark/badge@^0.1/dist/web-component.js"></script>
<fidemark-badge uid="0xabc..." theme="dark"></fidemark-badge>

Pin an exact version (@fidemark/[email protected]) for reproducible deploys, or self-host dist/web-component.js (ESM) / dist/web-component.global.js (IIFE for plain <script>) from your own static origin if you would rather not depend on a public CDN.

Or register from your own bundle:

import "@fidemark/badge/web-component";

Attributes:

| Attribute | Notes | | ------------ | -------------------------------------------------- | | uid | Attestation UID (required). | | api-base | Override the JSON API origin. | | theme | light (default) or dark. |

The element renders inside a Shadow DOM, so it inherits no styles from the host page and exposes a ::part(badge) for layout overrides.

What it shows

| Attestation kind | Pill label | | ------------------------- | ------------------------------ | | Human Proof | ✓ Human Proof | | Human Proof + ENS | ✓ Human Proof (ENS) | | AI Proof | ✓ AI Proof · <modelId> | | Multi-party (N-of-N) | ✓ Multi-party Proof · N signers | | Verified-human (PoP) | ✓ Verified-human Proof | | Revoked | ✗ Revoked |

Clicking the badge opens verify.fidemark.dev/<uid> in a new tab so anyone can audit the underlying on-chain attestation.

Documentation

  • Concepts: https://docs.fidemark.dev/concepts/how-it-works/
  • SDK reference: https://docs.fidemark.dev/sdk/installation/
  • Verify page: https://verify.fidemark.dev
  • Landing: https://fidemark.dev

Versioning

Semantic versioning. Breaking surface changes bump the major; new features bump the minor; patch releases fix bugs.

Issues

This repository is a published mirror of the Fidemark monorepo. Source lives privately, but issues and feature requests are tracked here, please open one if you hit a bug or want to propose an addition.

License

Apache License 2.0. See LICENSE and NOTICE.

This badge is the open-source verification widget for the Fidemark Protocol. The protocol contracts and all related apps and services live in a private repository and are licensed separately under proprietary terms; the deployed contract bytecode is independently verifiable on-chain at the addresses bundled in the Fidemark SDK.

© 2026 Vincent Cibelli (VinciDev). The "Fidemark" name, logo, and brand are reserved by Vincent Cibelli (VinciDev) and are not granted by Apache 2.0. Forks of this badge are welcome under the License, but please rename them so users can tell them apart from the official Fidemark project.