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

xlsx-to-json

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xlsx-to-json - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

5

libs/index.js
var fs = require('fs');
var xlsx = require('xlsx');
var cvcsv = require('csv');
var record = []
var header = []

@@ -44,2 +42,5 @@ exports = module.exports = XLSX_json;

CV.prototype.cvjson = function(csv, output, callback) {
var record = []
var header = []
cvcsv()

@@ -46,0 +47,0 @@ .from.string(csv)

2

package.json
{
"name": "xlsx-to-json",
"version": "0.1.0",
"version": "0.1.1",
"description": "Convert xlsx to json",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,1 +0,1 @@

[{"":"","type":"","name":"start","label":"How would you characterize your experience as an interviewer/interviewee?","tags":"exp_tags"},{"":"","type":"","name":"purposes","label":"What are some of the purposes of the interviews you've been involved in? (data gathering, recruiting, health diagnostics, investigative journalism)","tags":"none"},{"":"","type":"","name":"duration","label":"How long do your interviews usually last? Did you usually have an idea of how far along you are in the interview?","tags":""},{"":"","type":"","name":"sittings","label":"Have you participated in interviews that took place over multiple sittings? Does this seem to be a common case?","tags":""},{"":"","type":"","name":"medium","label":"Have your interviews been in person? on the phone? written response?","tags":""},{"":"","type":"","name":"admin","label":"Have you been involved in any interviewing projects in an administrative capacity? What tasks did you perform?","tags":"admin_tasks"},{"":"","type":"begin branch","name":"","label":"Administrative experience follow-up questions.","tags":""},{"":"","type":"","name":"challenges","label":"Which tasks do you find the most challenging or time consuming?","tags":""},{"":"","type":"","name":"experience","label":"What level of training or experience is typically required in your interviews?","tags":""},{"":"","type":"","name":"branching","label":"Have you administered any interviews with branching logic?","tags":""},{"":"","type":"","name":"follow-ups","label":"Do you tend to ask follow-up questions beyond what is suggested in the survey?\nHow/when do they usually occur? How are they dealt with in coding?","tags":""},{"":"","type":"","name":"recording","label":"Are your interviews recorded?\nHave you encountered any limitations in being allowed to record?","tags":""},{"":"","type":"","name":"notes","label":"Do you take notes during your interviews?","tags":""},{"":"","type":"","name":"contingencies","label":"Have you ever needed to discard recordings/notes that you collected?","tags":""},{"":"","type":"end branch","name":"","label":"","tags":""},{"":"","type":"begin branch","name":"","label":"No administrative experience.","tags":""},{"":"","type":"end branch","name":"","label":"","tags":""},{"":"","type":"","name":"comments","label":"Do you have any comments about the tool I am using? About the interview experience as a whole?","tags":""},{"":"","type":"","name":"","label":"","tags":""},{"":"","type":"","name":"","label":"","tags":""},{"":"","type":"","name":"","label":"","tags":""},{"":"","type":"","name":"","label":"","tags":""},{"":"","type":"","name":"start","label":"How would you characterize your experience as an interviewer/interviewee?","tags":"exp_tags"},{"":"","type":"","name":"purposes","label":"What are some of the purposes of the interviews you've been involved in? (data gathering, recruiting, health diagnostics, investigative journalism)","tags":"none"},{"":"","type":"","name":"duration","label":"How long do your interviews usually last? Did you usually have an idea of how far along you are in the interview?","tags":""},{"":"","type":"","name":"sittings","label":"Have you participated in interviews that took place over multiple sittings? Does this seem to be a common case?","tags":""},{"":"","type":"","name":"medium","label":"Have your interviews been in person? on the phone? written response?","tags":""},{"":"","type":"","name":"admin","label":"Have you been involved in any interviewing projects in an administrative capacity? What tasks did you perform?","tags":"admin_tasks"},{"":"","type":"begin branch","name":"","label":"Administrative experience follow-up questions.","tags":""},{"":"","type":"","name":"challenges","label":"Which tasks do you find the most challenging or time consuming?","tags":""},{"":"","type":"","name":"experience","label":"What level of training or experience is typically required in your interviews?","tags":""},{"":"","type":"","name":"branching","label":"Have you administered any interviews with branching logic?","tags":""},{"":"","type":"","name":"follow-ups","label":"Do you tend to ask follow-up questions beyond what is suggested in the survey?\nHow/when do they usually occur? How are they dealt with in coding?","tags":""},{"":"","type":"","name":"recording","label":"Are your interviews recorded?\nHave you encountered any limitations in being allowed to record?","tags":""},{"":"","type":"","name":"notes","label":"Do you take notes during your interviews?","tags":""},{"":"","type":"","name":"contingencies","label":"Have you ever needed to discard recordings/notes that you collected?","tags":""},{"":"","type":"end branch","name":"","label":"","tags":""},{"":"","type":"begin branch","name":"","label":"No administrative experience.","tags":""},{"":"","type":"end branch","name":"","label":"","tags":""},{"":"","type":"","name":"comments","label":"Do you have any comments about the tool I am using? About the interview experience as a whole?","tags":""},{"":"","type":"","name":"","label":"","tags":""},{"":"","type":"","name":"","label":"","tags":""},{"":"","type":"","name":"","label":"","tags":""},{"":"","type":"","name":"","label":"","tags":""}]
[{"":"","type":"","name":"start","label":"How would you characterize your experience as an interviewer/interviewee?","tags":"exp_tags"},{"":"","type":"","name":"purposes","label":"What are some of the purposes of the interviews you've been involved in? (data gathering, recruiting, health diagnostics, investigative journalism)","tags":"none"},{"":"","type":"","name":"duration","label":"How long do your interviews usually last? Did you usually have an idea of how far along you are in the interview?","tags":""},{"":"","type":"","name":"sittings","label":"Have you participated in interviews that took place over multiple sittings? Does this seem to be a common case?","tags":""},{"":"","type":"","name":"medium","label":"Have your interviews been in person? on the phone? written response?","tags":""},{"":"","type":"","name":"admin","label":"Have you been involved in any interviewing projects in an administrative capacity? What tasks did you perform?","tags":"admin_tasks"},{"":"","type":"begin branch","name":"","label":"Administrative experience follow-up questions.","tags":""},{"":"","type":"","name":"challenges","label":"Which tasks do you find the most challenging or time consuming?","tags":""},{"":"","type":"","name":"experience","label":"What level of training or experience is typically required in your interviews?","tags":""},{"":"","type":"","name":"branching","label":"Have you administered any interviews with branching logic?","tags":""},{"":"","type":"","name":"follow-ups","label":"Do you tend to ask follow-up questions beyond what is suggested in the survey?\nHow/when do they usually occur? How are they dealt with in coding?","tags":""},{"":"","type":"","name":"recording","label":"Are your interviews recorded?\nHave you encountered any limitations in being allowed to record?","tags":""},{"":"","type":"","name":"notes","label":"Do you take notes during your interviews?","tags":""},{"":"","type":"","name":"contingencies","label":"Have you ever needed to discard recordings/notes that you collected?","tags":""},{"":"","type":"end branch","name":"","label":"","tags":""},{"":"","type":"begin branch","name":"","label":"No administrative experience.","tags":""},{"":"","type":"end branch","name":"","label":"","tags":""},{"":"","type":"","name":"comments","label":"Do you have any comments about the tool I am using? About the interview experience as a whole?","tags":""},{"":"","type":"","name":"","label":"","tags":""},{"":"","type":"","name":"","label":"","tags":""},{"":"","type":"","name":"","label":"","tags":""},{"":"","type":"","name":"","label":"","tags":""}]
var should = require('should');
var xlsx2json = require('../');
var fs = require('fs')

@@ -27,2 +28,8 @@ describe('xlsx to json', function() {

it('should exist test.json', function() {
var exist = fs.existsSync('./sample/test.json')
exist.should.be.true;
})
})

Sorry, the diff of this file is not supported yet

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