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

@willsunagency/geokit

v0.1.1

Published

The official Generative Engine Optimization (GEO) & AI SEO toolkit for JavaScript and TypeScript developers. Powered by GEOKit (https://geokit.site).

Readme

@willsunagency/geokit

The Official Generative Engine Optimization (GEO) & AI SEO Toolkit for Modern Web & Node.js Applications.
Built and maintained by GEOKit (geokit.site) — The open, client-side, privacy-first AI SEO engineering platform.

npm version License: MIT Web Platform


🌟 Why Generative Engine Optimization (GEO)?

In 2026, AI search engines—including Perplexity AI, OpenAI ChatGPT Search, Google Gemini Overview, Claude, and Meta AI—drive billions of search interactions. Traditional technical SEO alone is no longer enough to guarantee discovery.

AI agents parse web documents differently than classic keyword crawlers:

  1. They require structured context files like standard llms.txt and llms-full.txt.
  2. They rely on semantic JSON-LD schema graphs to resolve entity identities.
  3. They prioritize high citation authority, direct factual density, and clear markdown hierarchies.

@willsunagency/geokit gives JavaScript and Node.js developers programmatic access to validate, generate, and optimize their websites for Generative Engine discovery.


🛠️ Free Online Interactive Tools

Prefer a no-code visual interface? Use our free, 100% client-side web tools directly on GEOKit.site:


📦 Installation

# Install via npm
npm install @willsunagency/geokit

# Install via pnpm
pnpm add @willsunagency/geokit

# Install via yarn
yarn add @willsunagency/geokit

🚀 Quick Start

1. Generate an llms.txt File

import { generateLlmsTxt } from '@willsunagency/geokit';

const config = {
  title: "My SaaS Platform",
  summary: "Next-generation analytics powered by edge computing.",
  sections: [
    {
      title: "Core Documentation",
      items: [
        { title: "API Reference", url: "https://mysite.com/docs/api", notes: "REST and GraphQL endpoints" },
        { title: "Architecture", url: "https://mysite.com/docs/arch", notes: "System topology" }
      ]
    },
    {
      title: "Optional Resources",
      items: [
        { title: "Changelog", url: "https://mysite.com/changelog" }
      ]
    }
  ]
};

const output = generateLlmsTxt(config);
console.log(output);

2. Build Granular AI Robots Directives

import { generateAiRobotsTxt } from '@willsunagency/geokit';

const robotsTxt = generateAiRobotsTxt({
  allowSearchBots: true,     // Allow GPTBot, PerplexityBot
  blockTrainingBots: true,   // Block CommonCrawl, CCBot
  sitemapUrl: 'https://mysite.com/sitemap.xml',
  llmsTxtUrl: 'https://mysite.com/llms.txt'
});

console.log(robotsTxt);

3. Calculate Content AI Citation Probability

import { calculateCitationScore } from '@willsunagency/geokit';

const sampleArticle = `
Generative Engine Optimization (GEO) improves content visibility across LLM-powered search engines.
Key pillars include factual verification, clear markdown hierarchy, and rich JSON-LD markup.
`;

const analysis = calculateCitationScore(sampleArticle);
console.log(`Citation Score: ${analysis.score}/100`);
console.log(`Recommendations:`, analysis.suggestions);

🔗 Ecosystem & Links