Skip to content

A Simple JavaScript/Node.js Csv to Markdown Table Converter

License

Notifications You must be signed in to change notification settings

nonplayer/CsvToMarkdownTable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSV To Markdown Table

Simple JavaScript CSV to Markdown Table Converter

Requires no external libraries.

Works in Node as well as in the browser.

There is a live web interface for it here.

Example Use:

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

Outputs:

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

Which displays in markdown as:

header1 header2 header3
Value1 Value2 Value3

About

A Simple JavaScript/Node.js Csv to Markdown Table Converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • HTML 59.9%
  • JavaScript 40.1%