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

@neuralflow/ai-act

v0.1.5

Published

AI transparency badge for websites. One script tag. EU AI Act ready. Built and operated by AI.

Readme

@neuralflow/ai-act

AI transparency badge for your website. One script tag. EU AI Act ready.

The EU AI Act (Article 50) requires AI-generated content to be labeled — machine-readable and human-visible. Penalties: up to EUR 15M or 3% of annual global turnover. Enforcement begins August 2, 2026.

There's no standard badge for this yet. This is it.

Screenshot

Quick Start (any website)

Add one script tag. Done.

<script src="https://cdn.jsdelivr.net/npm/@neuralflow/ai-act/dist/badge.min.js"
  data-operator="Your Company"
  data-ai-system="Claude"
  data-lang="en">
</script>

This adds:

  • A visible "AI Transparent" badge (bottom-right, configurable)
  • Click → disclosure popup with full Article 50 text
  • <meta> tags for machine-readable AI disclosure
  • JSON-LD structured data in <head>
  • Zero dependencies. Zero cookies. Zero tracking. 4.6 KB.

Options

| Attribute | Required | Description | |---|---|---| | data-operator | Yes | Organization operating the AI system | | data-ai-system | Yes | Name of the AI system | | data-lang | No | "en" (default) or "de" | | data-position | No | "bottom-right" (default), "bottom-left", "top-right", "top-left" |

npm Package (for developers)

npm install @neuralflow/ai-act
import { createDisclosure, generateMetadata } from '@neuralflow/ai-act';

// Generate disclosure text (HTML + plain text + JSON-LD)
const disclosure = createDisclosure({
  operator: 'Your Company',
  aiSystem: 'Claude',
  purpose: 'Content generation',
  lang: 'de', // or 'en'
});

console.log(disclosure.html);  // Ready-to-embed HTML
console.log(disclosure.text);  // Plain text
console.log(disclosure.jsonLd); // Schema.org JSON-LD

// Generate metadata for <head>
const metadata = generateMetadata({
  operator: 'Your Company',
  aiSystem: 'Claude',
});

console.log(metadata.jsonLd); // JSON-LD object
console.log(metadata.meta);   // Array of {name, content} meta tags

CLI

# Generate disclosure
npx @neuralflow/ai-act generate --operator "Your Company" --ai-system "Claude" --lang de

# Check a URL for AI disclosure metadata
npx @neuralflow/ai-act check https://example.com

What it checks for

The check command looks for:

  • JSON-LD with schema.org context
  • <meta name="ai-generated"> tag
  • <meta name="ai-system"> tag
  • <meta name="ai-operator"> tag
  • Visible disclosure text

Framework integration

React / Next.js

import { useEffect } from 'react';

export function AiActBadge({ operator, aiSystem, lang = 'en' }) {
  useEffect(() => {
    const script = document.createElement('script');
    script.src = 'https://cdn.jsdelivr.net/npm/@neuralflow/ai-act/dist/badge.min.js';
    script.setAttribute('data-operator', operator);
    script.setAttribute('data-ai-system', aiSystem);
    script.setAttribute('data-lang', lang);
    document.body.appendChild(script);
    return () => { document.body.removeChild(script); };
  }, [operator, aiSystem, lang]);
  return null;
}

// Usage: <AiActBadge operator="Your Company" aiSystem="Claude" lang="de" />

Vue

<script setup>
import { onMounted } from 'vue';
const props = defineProps({ operator: String, aiSystem: String, lang: { default: 'en' } });
onMounted(() => {
  const s = document.createElement('script');
  s.src = 'https://cdn.jsdelivr.net/npm/@neuralflow/ai-act/dist/badge.min.js';
  s.dataset.operator = props.operator;
  s.dataset.aiSystem = props.aiSystem;
  s.dataset.lang = props.lang;
  document.body.appendChild(s);
});
</script>

WordPress

Add to your theme's footer.php before </body>, or use a "Custom HTML" widget:

<script src="https://cdn.jsdelivr.net/npm/@neuralflow/ai-act/dist/badge.min.js"
  data-operator="Your Company"
  data-ai-system="ChatGPT"
  data-lang="de">
</script>

Shopify

Add to theme.liquid before </body>.

Shopware 6

Add via "Erlebniswelten" → Custom Code Element, or in base.html.twig.

EU AI Act — Article 50 in brief

  • Who: Anyone deploying AI systems that interact with people or generate content in the EU
  • What: Machine-readable marking + human-visible disclosure of AI-generated content
  • When: August 2, 2026
  • Penalty: Up to EUR 15 million or 3% of annual worldwide turnover
  • Standard: C2PA Content Credentials (referenced in EU Code of Practice)

What this tool does NOT do

  • It is not legal advice. Consult a lawyer for your specific compliance needs.
  • It does not embed C2PA manifests into files (planned for v2).
  • It does not watermark images, audio, or video.
  • It does not store any data. Everything runs client-side.

Built by AI

This project is built and operated by AI (Claude Opus 4.6). Owner: Olaf Mergili. No human support.

We use our own tool on our own website. If it's good enough for an AI-operated business, it's good enough for yours.

License

MIT — use it however you want.

Links