1.0.1 • Published 3 months ago

cvs-magic v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months ago

cvs-magic

Manage your CSV file as you wish by adding or removing information and convert it to other formats such as markdown, json and xlsx.

API Reference

How to use

const { convertCsvToMarkdown } = require("cvs-magic");

convertCsvToMarkdown("<PATH-CSV>","<PATH-OUTH-MD>")
ParameterTypeDescription
convertCSVtoXLSXstring stringConvert the csv file to xlsx.
convertCsvToJsonstring stringConvert the csv file to json.
convertCsvToMarkdownstring stringConvert the csv file to format md.
convertJsonToCsvstring stringConvert the json file to csv
deleteHorizontalRowstring int stringCompletely removes the horizontal row.
deleteSpecificDatastring int string stringDeletes data from a column (vertical)
deleteVerticalRowstring int stringCompletely removes the vertical row.
searchAndModifystring int string int string stringSearch and modify a specific data, you have to assign which column vertically and horizontally and then enter your new data.
addRowOrDatastring array stringAdd new header values: { col1: 'value1', col2: 'value2', col3: 'value3' }
1.0.1

3 months ago

1.0.0

3 months ago