csv-xlsx-to-json

0.0.2 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    11
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    11
  • 0.0.1
    0

Package Sidebar

Install

npm i csv-xlsx-to-json

Weekly Downloads

11

Version

0.0.2

License

none

Last publish

Collaborators

  • robmbackus