Socket
Book a DemoInstallSign in
Socket

csv-to-markdown-table

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csv-to-markdown-table

JavaScript/Node.js Csv to Markdown Table Converter

Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
63K
-14.56%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Example Use:

csvToMarkdown( "header1,header2,header3\nValue1,Value2,Value3", ",", true);

Outputs:

| header1 | header2 | header3 | 
|---------|---------|---------| 
| Value1  | Value2  | Value3  | 

Which displays in markdown as:

header1header2header3
Value1Value2Value3

Keywords

csv

FAQs

Package last updated on 10 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts