3.0.3 • Published 1 year ago

csv-load-and-process v3.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

csv-load-and-process

Contents

This node module can read csv and process them.

return Two-dimensional array of String type.

Made by DoLonaAnd.


Usage

// import
const clap = require('csv-load-and-process');

// use
// read
let path = "./text_1.csv",
    csvArray = clap.getCSV(path);
// write
let path = "./text_2.csv",
    opt = 0 or 1;
clap.setCSV(path, csvArray, opt);
    /* opt == 0 -> overwrite or write new.
     *             This is default.
     *             You have not to set opt.
     * opt == 1 -> postscript.
     */

/*
 * csvArray = [
 *  [txt,txt], //line
 *  [txt,txt,txt], //line
 *  [txt]  //line
 * ];
 */

Link

Twitter

npm

1.0.2

1 year ago

3.0.3

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.0.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago