Skip to content

v1.2.0 - New @25xcodes/llmstxt-parser Package

Latest

Choose a tag to compare

@websearch-via-camera websearch-via-camera released this 05 Dec 17:53
· 13 commits to main since this release

What's New

πŸŽ‰ New npm Package: @25xcodes/llmstxt-parser

A high-quality TypeScript library for parsing and validating llms.txt files.

Features:

  • Parser β€” parseLLMSTxt() parses markdown into structured documents
  • Validator β€” validateLLMSTxt() validates per llmstxt.org spec with quality scoring
  • Fetcher β€” fetchLLMSTxt() discovers and fetches from well-known paths
  • RAG Utilities β€” Token estimation, RAG format conversion, link extraction for vector DBs

Highlights:

  • Zero runtime dependencies
  • Full TypeScript support
  • Dual ESM/CJS exports
  • 41 tests with comprehensive coverage
  • CORS proxy support for browser environments

Installation

npm install @25xcodes/llmstxt-parser

Quick Start

import { parseLLMSTxt, validateLLMSTxt } from '@25xcodes/llmstxt-parser'

const doc = parseLLMSTxt(markdown)
const result = validateLLMSTxt(doc)

console.log(doc.title, doc.links)
console.log(result.valid, result.score)

Full Changelog: https://github.com/kiarashplusplus/webmcp-tooling-suite/blob/main/CHANGELOG.md#120---2025-12-05