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

frai

v1.2.1

Published

FRAI - Framework of Responsible Artificial Intelligence

Readme

frai

npm version

Does your product tell people it uses AI? One command checks your code, your live site and your spec, and tells you the one thing to fix.

npx frai

No key, no signup, no flags. Node 18 or newer.

FRAI review: support-app

Code   AI found  3 files using openai
Site   https://support.example.com/  needs a notice
       Chat tool found. No AI disclosure found. · found: Intercom
Spec   FRAI-SPEC.md  BLOCK
       Human oversight · Escalation path needs your answer: …
Next   answer the 4 open fields in FRAI-SPEC.md, then: npx frai gate check FRAI-SPEC.md

Commands

| Command | What it does | |---|---| | frai | Review this project: code, live site, spec, next step. | | frai check <site> | Check any site, no repo needed. --email [email protected] sends the full page-by-page report; add --watch to re-check it monthly. | | frai init | Add FRAI-SPEC.md and the GitHub Action that runs the gate on every pull request. | | frai draft | Fill the spec from your code, then write it into FRAI-SPEC.md. | | frai gate check FRAI-SPEC.md | Run the gate. Exits 1 on BLOCK. |

Flags on frai: --ci (exit 1 when something needs fixing), --json, --offline (skip the site check), --url <site> (override the detected site).

What it does for you

  • Finds your site. From homepage in package.json, then NEXT_PUBLIC_SITE_URL, SITE_URL or APP_URL in .env*, then the first real link in your README.
  • Finds your AI. Model calls in your code, and AI SDKs in package.json, requirements.txt, pyproject.toml or Pipfile. It skips hidden folders, node_modules and build output.
  • Checks the live site through frai.cc: your homepage and policy pages, with the homepage loaded in a real browser so JavaScript chat widgets are found. It respects robots.txt (how it reads sites).
  • Drafts honestly. frai draft uses your local Claude (Claude Code login or ANTHROPIC_API_KEY), so nothing leaves your machine. Without one, frai.cc drafts it after listing the files it would send and asking. Anything your code doesn't show becomes NEEDS HUMAN INPUT: <question>, and the gate blocks until a person answers.

In CI

- run: npx frai --ci

Fails when the live site is missing a notice, the gate blocks, or AI code has no spec. If frai.cc can't be reached, the site check is skipped rather than failing your build.

Older tools

frai scan lists AI libraries and calls in your code. frai generate asks about your AI feature and writes checklist.md, model_card.md and risk_file.md (an OpenAI key adds AI-written tips). frai rag, frai eval and frai finetune are experiments.

MIT · frai.cc · source