Generate and parse llms.txt and llms-full.txt — the emerging llmstxt.org standard that gives LLMs a curated, Markdown map of your site — or build one straight from your sitemap entries. The SEO layer for the AI era.
Install
$ npm install @lacspace/llms-txt
Quick example
@lacspace/llms-txtts
llmsTxt({ title, summary, sections })
Returns # Site\n> summary…
Tips
Zero-dependency and isomorphic — safe to import on the server, in the browser, on the edge and in React Native. It tree-shakes, so you only ship what you import.
Looking for the complete API and more examples? The npm page and GitHub README carry the full reference — or grab the PDF.