1.0.4 • Published 3 years ago

csv-toolbox v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

CSV TOOLBOX

CSV-Toolbox is a nodejs library which helps to work with CSV data format.

Installation

Use the npm package manager to install csv-toolbox

    npm install csv-toolbox

Usage

Insert Column

const {insertColumn} = require("csv-toolbox")

let csv = "a,b,c\n" +
          "1,2,3\n" +
          "4,5,6"

let column = "d,7,8"

const result = insertColumn(csv, column)

Insert Row

const {insertRow} = require("csv-toolbox")

let csv = "a,b,c\n" +
          "1,2,3"

let row = "4,5,6"

const result = insertRow(csv, row)
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago