Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csv-xlsx-to-json

Processes csv and xlsx and convert them to json

introduction

Utilizes xlsx-to-json module by chilijung and csv-stream module by lbdremy to provide one simple to use package for converting xlsx and csv documents to json.

Getting Started

Watch for attachments:

var sheetToJson = require('csv-xlsx-to-json');


var filePath = "some/file/path/file.csv";

sheetToJson.process(filePath, function(err, result){
    if(err){
        //handle err
    }

    //do something with your json result

})

installation

$ npm install csv-xlsx-to-json

Dependencies

This module uses xlsx-to-json and csv-stream. For more robust individual features use these modules instead.

About

Converts various formats of xlsx and csv documents to json

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages