developer-skills-matrix icon indicating copy to clipboard operation
developer-skills-matrix copied to clipboard

Automation: Convert CSV file to MD file

Open naomi-lgbt opened this issue 3 years ago • 2 comments

We want an automated action that runs when the rubric.csv file is changed - it should parse the file into the Markdown format and overwrite rubric.md.

We can use the TypeScript infrastructure to write the code and have the action file run it.

naomi-lgbt avatar Jun 05 '22 16:06 naomi-lgbt

@nhcarrigan I could use this library, https://www.npmjs.com/package/csv-to-markdown-table, can I use Javascript instead of ts, since I am unsure if we would want to create a ts declaration file, also if not, could we also automate this one with the same? https://www.npmjs.com/package/csv2md

gptkrsh avatar Jun 12 '22 06:06 gptkrsh

I could use this library, https://www.npmjs.com/package/csv-to-markdown-table, can I use Javascript instead of ts, since I am unsure if we would want to create a ts declaration file

This library includes its own TS declarations you wouldn't need to create a file.

naomi-lgbt avatar Jun 12 '22 13:06 naomi-lgbt