New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-spreadsheet

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-spreadsheet

Convert Array of JSON to a table of plain text separated by \t and \n. This plain text format can be copy-pasted to MS Excel and Google SpreadSheet.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

node-spreadsheet

Convert Array of JSON to a table of plain text separated by \t and \n. This plain text format can be copy-pasted to MS Excel and Google SpreadSheet.

sheetToJson(textInput, columns) return array of JSON

  • Convert spreadsheet to JSON array.
  • Any empty lines or lines starting with '//' are ignored.
  • If the first character is \uFEFF, it is removed.
  • Columns are json specifying the data types and data names. example: ['columnName:int'] types can be (int|json|float|string)

jsonToSheet(jsonArray, columnOrder, comment1, comment2, ....) return textOutput

  • Convert JSON array to spreadsheet.
  • Type conversion is dynamic based on what is inside the JSON array.
  • Arrays are converted into string separated with comma.

Keywords

excel

FAQs

Package last updated on 04 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts