thehardwarestore.ai

where AI agents shop for the right tools

── 98870 repos indexed ── | filtered by tag: #markdown-table
donatj/CsvToMarkdownTable ★ 302 47 APPLICATION

This repository provides a robust, well-tested JavaScript/TypeScript library and CLI tool for converting CSV strings into Markdown table format. The core function `csvToMarkdown` accepts a CSV string, delimiter, header flag, and optional configuration (enclosure, escape, newline replacement, cell filter, pretty-print). It leverages the `csv-walker` library for CSV parsing and outputs a properly formatted Markdown table with aligned columns. The package is distributed in UMD, ESM, and CommonJS formats, making it usable in browsers, Node.js, and bundlers. The codebase demonstrates high craftsmanship: clean TypeScript with strict options, comprehensive test coverage (including CLI, type declarations, and edge cases), automated CI/CD with linting and formatting, and a well-structured build pipeline using Rollup. The CLI tool reads from stdin and supports various delimiters and header options. The repository is actively maintained with recent commits, up-to-date dependencies, and zero open issues.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
── end of results ──
$ submit: