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

geo-ai-cli

v0.1.1

Published

CLI for generating and validating llms.txt / llms-full.txt — AI Search Optimization (GEO) for any Node.js project

Readme

geo-ai-cli

npm

Part of the GEO AI – AI Search Optimization ecosystem. GitHub

CLI for generating and validating llms.txt / llms-full.txt — the standard format for exposing your site's content to AI search engines (ChatGPT, Claude, Gemini, Perplexity, DeepSeek, Grok and more).

Works with any Node.js project. Powered by geo-ai-core.

Installation

# Local (recommended)
npm install --save-dev geo-ai-cli

# Global
npm install -g geo-ai-cli

Quick Start

# 1. Scaffold a config file
npx geo-ai init

# 2. Edit geo-ai.config.ts with your site details

# 3. Generate llms.txt and llms-full.txt into ./public
npx geo-ai generate

# 4. Validate the output
npx geo-ai validate

Commands

geo-ai init

Scaffolds a geo-ai.config.ts starter file in the current directory. Exits without overwriting if a config already exists.

geo-ai init

geo-ai generate

Generates llms.txt and llms-full.txt from your config and writes them to the output directory.

geo-ai generate [--config <path>] [--out <path>]

| Flag | Default | Description | |------|---------|-------------| | --config | auto-discover | Path to config file | | --out | ./public | Output directory |

Config discovery order: geo-ai.config.tsgeo-ai.config.jsgeo-ai.config.json

geo-ai validate

Checks that llms.txt and llms-full.txt are present and have valid content. Supports both local files and remote URLs.

geo-ai validate [--path <dir>] [--url <url>]

| Flag | Default | Description | |------|---------|-------------| | --path | ./public | Local directory to check | | --url | — | Remote base URL (fetches <url>/llms.txt and <url>/llms-full.txt) |

Exit codes: 0 — all pass/warn, 1 — any fail or not found.

geo-ai inspect

Previews your config: site info, crawler rules, resource sections with item counts. Optionally fetches and displays remote llms files.

geo-ai inspect [--config <path>] [--url <url>]

Config File

// geo-ai.config.ts
import type { GeoAIConfig } from 'geo-ai-core';

export default {
  siteName: 'My Site',
  siteUrl: 'https://example.com',
  siteDescription: 'A brief description for AI crawlers.',
  crawlers: 'all',
  provider: {
    Pages: [
      { title: 'Home', url: 'https://example.com/', description: 'Welcome page' },
    ],
    Blog: [
      { title: 'Getting Started', url: 'https://example.com/blog/start', description: 'First steps' },
    ],
  },
} satisfies GeoAIConfig;

Required fields: siteName, siteUrl, provider.

Debug Mode

Set DEBUG=geo-ai to print stack traces to stderr:

DEBUG=geo-ai geo-ai generate

Requirements

  • Node.js >= 20

License

GPL v2