🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

excel-help

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

excel-help - npm Package Compare versions

Comparing version

to
1.0.1

2

package.json
{
"name": "excel-help",
"version": "1.0.0",
"version": "1.0.1",
"description": "Helper + Middleware for exporting excel files based on sheetjs",

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

@@ -31,23 +31,23 @@ # Excel Help

```
res.xlsx("export.xlsx",[
{
"type": "json",
"data": [{
"foo":"bar",
"bar":"foo",
"abc":"def"
},
{
"foo":"xyz",
"bar":"lak",
"abc":"mkx"
}]
},
{
"type": "columns",
"data": [
["yqmxc", "kqyui", "zhasi", "kljhda"],
["yqmxl", "kqyuiads", "zhasida", null, new Date()]
]
}
res.xlsx("export.xlsx", [
{
"type": "json",
"data": [{
"foo":"bar",
"bar":"foo",
"abc":"def"
},
{
"foo":"xyz",
"bar":"lak",
"abc":"mkx"
}]
},
{
"type": "columns",
"data": [
["yqmxc", "kqyui", "zhasi", "kljhda"],
["yqmxl", "kqyuiads", "zhasida", null, new Date()]
]
}
], config?config:{})

@@ -57,3 +57,3 @@

![[output.png]]
![alt text](https://github.com/Codebucket-Solutions/Excel-Help/blob/master/output.png)

@@ -96,22 +96,22 @@ It accepts an array of objects of folklowing format:

[
{
"type": "json",
"data": [{
"foo":"bar",
"bar":"foo",
"abc":"def"
},
{
"foo":"xyz",
"bar":"lak",
"abc":"mkx"
}]
},
{
"type": "columns",
"data": [
["yqmxc", "kqyui", "zhasi", "kljhda"],
["yqmxl", "kqyuiads", "zhasida", null, new Date()]
]
}
{
"type": "json",
"data": [{
"foo":"bar",
"bar":"foo",
"abc":"def"
},
{
"foo":"xyz",
"bar":"lak",
"abc":"mkx"
}]
},
{
"type": "columns",
"data": [
["yqmxc", "kqyui", "zhasi", "kljhda"],
["yqmxl", "kqyuiads", "zhasida", null, new Date()]
]
}
],

@@ -118,0 +118,0 @@ "sheet1", //Name of the sheet (Not Mandatory)