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

@arsh342/athena

v0.2.5

Published

AI code provenance tracker and terminal scanner for JavaScript and TypeScript repositories.

Readme

Athena CLI

AI code provenance tracker for JavaScript and TypeScript repositories.

Athena scans JS/TS/JSX/TSX files, extracts function-level code units, scores AI-origin likelihood with local heuristics, and runs targeted security checks.

Install

npm install -g @arsh342/athena

Quick Start

Open interactive selector:

athena
# or
athena menu

Scan current directory:

athena scan .

Check staged files:

athena check

Install pre-commit hook:

athena init

Remove pre-commit hook:

athena uninstall

Setup scanner dependencies:

athena setup all
athena setup all --auto
athena setup semgrep
athena setup semgrep --auto
athena doctor --fix

Common Options

Set threshold (default is 9):

athena scan . --threshold 9
athena check --threshold 9

Choose output format:

athena scan . --format terminal
athena scan . --format json
athena scan . --format jsonl

Terminal UI Behavior

  • Selector mode renders in-place and re-renders dynamically.
  • Scan/check reports separate AI-origin confidence from security findings.
  • Direct command runs clear the terminal before rendering report output.

Report Highlights

Terminal reports include:

  • Top-level metrics (files, units, ai-flagged units, duration)
  • AI-origin confidence section
  • Top weighted signals
  • Security findings section
  • Gate status and gate reason

Development

Run from source:

npm run dev -w @arsh342/athena -- menu

Quiet npm wrapper output:

npm run -s dev -w @arsh342/athena -- menu

Build:

npm run build -w @arsh342/athena

Notes

  • Runs fully local (no external AI service required).
  • Supports JavaScript, TypeScript, JSX, and TSX.
  • Requires Node.js 18 or newer.
  • ESLint scanner support is bundled through Athena optional package dependencies.
  • Semgrep, Docker (for nodejsscan), and Bearer CLI remain external optional tools.