← All packages

@lacspace/llms-txt

v1.3.1SEO Kit0 deps

Generate and parse llms.txt and llms-full.txt (the llmstxt.org standard) — a Markdown map of your site for LLMs. Zero-dependency, isomorphic.

npm i @lacspace/llms-txt

Usage

llms-txt.ts
import { llmsTxt } from "@lacspace/llms-txt";

const txt = llmsTxt({
  title: "Lacspace",
  summary: "Open-source TypeScript packages and products.",
  details: "Zero-dependency, isomorphic, Lacspace-Free-Licensed.",
  sections: [
    {
      title: "Docs",
      links: [
        { title: "npm Packages", url: "https://lacspace.com/packages", notes: "20 packages" },
        { title: "SDK", url: "https://www.npmjs.com/package/@lacspace/sdk" },
      ],
    },
  ],
});

Exports 7

llmsFullTxtllmsFullTxtResponsellmsTxtllmsTxtFromRoutesllmsTxtFromSitemapllmsTxtResponseparseLlmsTxt

Keywords

llms-txtllms-full-txtllmstxtai-seollmgenerative-engine-optimization

More in SEO Kit