{"repo":"ksylvan/markdown-tree-parser","free":true,"listed":false,"github":"https://github.com/ksylvan/markdown-tree-parser","clone":"git clone https://github.com/ksylvan/markdown-tree-parser.git","description":"A powerful JavaScript library and CLI tool for parsing and manipulating markdown files as tree structures. Built on top of the battle-tested remark/unified ecosystem.","language":"JavaScript","stars":33,"topics":["ast","cli","content-management","documentation","markdown","markdown-parser","mdast","mdast-util","parser","remark"],"license":"MIT","category":"cli-tools","readme_excerpt":"markdown-tree-parser A powerful JavaScript library and CLI tool for parsing and manipulating markdown files as tree structures. Built on top of the battle-tested remark/unified ecosystem. 🚀 Features - 🌳 Tree-based parsing - Treats markdown as manipulable Abstract Syntax Trees (AST) - ✂️ Section extraction - Extract specific sections with automatic boundary detection - 🔍 Powerful search - CSS-like selectors and custom search functions - 📚 Batch processing - Process multiple sections at once - 🛠️ CLI & Library - Use as a command-line tool or JavaScript library - 📊 Document analysis - Get statistics and generate table of contents - 🎯 TypeScript ready - Full type definitions included 📦 Installation Global Installation (for CLI usage) Local Installation (for library usage) 🔧 CLI Usage After global installation, use the md-tree command: List all headings Extract specific sections Extract all sections at a level Show document structure Search with CSS-like selectors Document statistics Check links Generate table of contents Complete CLI options 📚 Library Usage Basic Usage Advanced Usage Search and Manipulation Working with Files 🎯 Use Cases - 📖 Documentation Management - Split large docs into manageable sections - 🌐 Static Site Generation - Process markdown for blogs and websites - 📝 Content Organization - Restructure and reorganize markdown content - 🔍 Content Analysis - Analyze document structure and extract insights - 📋 Documentation Tools - Build custom documenta","default_branch":null,"files":null,"tree":[],"storefront":"/r/ksylvan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ksylvan/markdown-tree-parser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}