@gatekeeper_technology/excel-utils 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +7 -7
- package/package.json +13 -11
package/index.js
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
getWorkbookData,
|
|
5
|
-
generateXLSXBuffer,
|
|
6
|
-
WorkbookCreator
|
|
7
|
-
}
|
|
1
|
+
const ExcelJS = require("exceljs");
|
|
8
2
|
|
|
9
3
|
class WorkbookCreator {
|
|
10
4
|
constructor() {
|
|
@@ -155,4 +149,10 @@ async function getWorkbookData(data) {
|
|
|
155
149
|
});
|
|
156
150
|
|
|
157
151
|
return rows_data;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
module.exports = {
|
|
155
|
+
getWorkbookData,
|
|
156
|
+
generateXLSXBuffer,
|
|
157
|
+
WorkbookCreator
|
|
158
158
|
}
|
package/package.json
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gatekeeper_technology/excel-utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Gatekeeper's excel Utils - shared in NPM",
|
|
5
5
|
"author": "David Holtzhausen",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"repository": {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/gatekeeper-technology/excel-utils.git"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
"excel",
|
|
13
|
+
"util",
|
|
14
|
+
"gatekeeper"
|
|
15
15
|
],
|
|
16
16
|
"bugs": {
|
|
17
|
-
|
|
17
|
+
"url": "https://github.com/gatekeeper-technology/excel-utils/issues"
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://github.com/gatekeeper-technology/excel-utils#readme",
|
|
20
20
|
"scripts": {
|
|
21
|
-
|
|
21
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
22
22
|
},
|
|
23
|
-
"license": "ISC"
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
"license": "ISC",
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"exceljs": "^4.3.0"
|
|
26
|
+
}
|
|
27
|
+
}
|