{"repo":"donatj/CsvToMarkdownTable","free":true,"listed":false,"github":"https://github.com/donatj/CsvToMarkdownTable","clone":"git clone https://github.com/donatj/CsvToMarkdownTable.git","description":"Simple CSV to Markdown Table Converter","language":"TypeScript","stars":300,"topics":["csv","markdown","markdown-table","javascript"],"license":"MIT","category":"cli-tools","readme_excerpt":"CSV To Markdown Table Simple JavaScript CSV to Markdown Table Converter You can see it in action and play with the Live Example. Requires no external libraries . Works in Node as well as in the browser. Install Usage CLI This package also includes a CLI tool. You can install it globally with: Then you can use it like so: Browser via CDN (UMD) Node.js with CommonJS (require) Node.js with ES Modules (import) TypeScript Outputs: Which displays in markdown as: header1 header2 header3 --------- --------- --------- Value1 Value2 Value3 Distribution Formats This package is distributed in multiple formats: - UMD : Universal Module Definition for browsers and legacy environments (includes csvToMarkdown global variable when loaded in a browser) - lib/CsvToMarkdown.js (unminified) - lib/CsvToMarkdown.min.js (minified) - ESM : ES Modules for modern JavaScript environments - lib/CsvToMarkdown.mjs - CJS : CommonJS for Node.js - lib/CsvToMarkdown.cjs The package.json is configured with the appropriate fields to ensure the correct format is used in each environment: - main : Points to the CommonJS build - module : Points to the ESM build - browser : Points to the UMD build - unpkg : Points to the minified UMD build - exports : Provides conditional exports for different environments","default_branch":null,"files":null,"tree":[],"storefront":"/r/donatj","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/donatj/CsvToMarkdownTable/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."}