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

@meridianlabs/inspect-scout-viewer

v0.4.5

Published

Inspect Scout viewer for evaluation logs.

Readme

Inspect Scout Viewer

A React-based web viewer for Inspect AI evaluation logs.

Prerequisites

This project uses pnpm as its package manager, managed through corepack.

Setup

Enable corepack (required once):

corepack enable

That's it! Corepack is built into Node.js 16.9+ and will automatically install the correct pnpm version (specified in package.json) when you run pnpm commands.

Alternative: If you prefer to install pnpm manually, see the official pnpm installation guide.

Install Dependencies

pnpm install

Development

Start the development server:

pnpm dev

Build for production:

pnpm build

Watch mode for development:

pnpm watch

Preview production build:

pnpm preview

Code Quality

Run linting:

pnpm lint

Auto-fix linting issues:

pnpm lint:fix

Format code:

pnpm format

Check formatting:

pnpm format:check

Type check:

pnpm typecheck

Run all checks (lint, format, typecheck):

pnpm check

TypeScript Types from OpenAPI

Types are auto-generated from the FastAPI OpenAPI spec to keep client/server in sync.

How It Works

The type generation pipeline:

Python Pydantic models → openapi.json → generated.ts → built app
  1. Export schema: Python script exports OpenAPI spec from FastAPI to openapi.json
  2. Generate types: openapi-typescript generates TypeScript types from schema
  3. Type adapter: src/types/api-types.ts re-exports types with clean names
  4. Usage: Import types from src/types/index.ts in your code

Updating Types After API Changes

When Python Pydantic models change:

# 1. Export updated OpenAPI schema
.venv/bin/python scripts/export_openapi_schema.py

# 2. Types regenerate automatically on next build
pnpm build

Commit both openapi.json and src/types/generated.ts.

Manual Type Generation

pnpm types:generate

CI Validation

CI automatically validates the type generation pipeline:

  • openapi-schema job: Regenerates openapi.json and fails if it differs from committed version
  • js-build job: Regenerates generated.ts and fails if it differs from committed version

If CI fails, run the commands shown in the error message and commit the updated files.

Tech Stack

  • React 19
  • TypeScript
  • Vite
  • Bootstrap 5
  • AG Grid
  • React Router