@lacspace/llms-txt
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-txtUsage
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
llmsFullTxtllmsFullTxtResponsellmsTxtllmsTxtFromRoutesllmsTxtFromSitemapllmsTxtResponseparseLlmsTxtKeywords
More in SEO Kit
Dynamic Open Graph images — a share-card design system you configure once and call per page. Produces a next/og element tree AND a zero-dependency SVG from the same options, with auto-fitting titles, presets, badges and gradients. Zero-dependency, isomorphic.
@lacspace/robotsBuild and parse robots.txt — typed per-user-agent rules, AI-crawler block presets (GPTBot, ClaudeBot, CCBot, Google-Extended), sitemap refs and Next.js robots.ts output. Zero-dependency, isomorphic.
@lacspace/rssGenerate RSS 2.0, Atom 1.0 and JSON Feed 1.1 from one set of items — content syndication for blogs and news. Zero-dependency, isomorphic.
@lacspace/seoTyped metadata + JSON-LD for modern web apps — schema.org builders (Organization, Article, Product, FAQ, Breadcrumb), a Next.js App Router Metadata helper, the defineSite() SEO Autopilot engine, and an on-page SEO auditor with a CI sitemap crawler that fails the build when SEO regresses (`npx @lacspace/seo audit <url>` / `crawl <site> --min-grade A`). Zero-dependency, isomorphic.
@lacspace/site-verifySearch-engine site verification — meta tags, Next.js verification metadata and file tokens for Google Search Console, Bing, Yandex, Baidu, Pinterest, Ahrefs, Facebook & more. Zero-dependency, isomorphic.
@lacspace/sitemapGenerate sitemap.xml, sitemap indexes and Next.js sitemaps — image/video/news extensions, hreflang alternates, auto-split at 50k URLs. Zero-dependency, isomorphic.