New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

xls-to-json

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xls-to-json - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

8

libs/index.js
var fs = require('fs');
var xlsjs = require('xlsjs');
var xlsx = require('xlsx');
var cvcsv = require('csv');

@@ -27,3 +27,3 @@

CV.prototype.load_xls = function(input) {
return xlsjs.readFile(input);
return xlsx.readFile(input);
}

@@ -37,3 +37,3 @@

CV.prototype.csv = function(ws) {
return csv_file = xlsjs.utils.make_csv(ws)
return csv_file = xlsx.utils.make_csv(ws)
}

@@ -76,4 +76,4 @@

.on('error', function(error){
console.log(error.message);
callback(error, null);
});
}
{
"name": "xls-to-json",
"version": "0.3.2",
"version": "0.4.0",
"description": "Converting xls file to json files using nodejs",

@@ -24,3 +24,3 @@ "main": "index.js",

"dependencies": {
"xlsjs": "0.7.0",
"xlsx": "0.8.0",
"csv": "~0.3.6"

@@ -27,0 +27,0 @@ },

@@ -19,4 +19,4 @@ # node-xls-json

input: "sample.xls", // input xls
output: "output.json" // output json
sheet: "sheetname", // specific sheetname
output: "output.json", // output json
sheet: "sheetname" // specific sheetname
}, function(err, result) {

@@ -23,0 +23,0 @@ if(err) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc