Comparing version 0.19.0 to 0.20.0
/// <reference types="node" /> | ||
import XLSX, { AOA2SheetOpts, ParsingOptions, Sheet2JSONOpts, WritingOptions, AutoFilterInfo, ColInfo, ProtectInfo, Range, RowInfo } from 'xlsx'; | ||
import XLSX, { AOA2SheetOpts, AutoFilterInfo, ColInfo, ParsingOptions, ProtectInfo, Range, RowInfo, Sheet2JSONOpts, WritingOptions } from 'xlsx'; | ||
export declare const parse: (mixed: unknown, options?: Sheet2JSONOpts & ParsingOptions) => { | ||
@@ -4,0 +4,0 @@ name: string; |
@@ -38,3 +38,3 @@ "use strict"; | ||
header, | ||
range, | ||
range: typeof range === 'function' ? range(sheet) : range, | ||
blankrows, | ||
@@ -41,0 +41,0 @@ defval, |
{ | ||
"name": "node-xlsx", | ||
"author": "Olivier Louvignes <olivier@mg-crea.com>", | ||
"version": "0.19.0", | ||
"version": "0.20.0", | ||
"description": "NodeJS Excel files parser & builder", | ||
@@ -30,4 +30,4 @@ "main": "lib/index.js", | ||
"@types/sodium-native": "^2.3.5", | ||
"@typescript-eslint/eslint-plugin": "^5.8.0", | ||
"@typescript-eslint/parser": "^5.8.0", | ||
"@typescript-eslint/eslint-plugin": "^5.8.1", | ||
"@typescript-eslint/parser": "^5.8.1", | ||
"eslint": "^8.5.0", | ||
@@ -34,0 +34,0 @@ "eslint-config-prettier": "^8.3.0", |
@@ -27,3 +27,3 @@ <!-- markdownlint-disable no-inline-html --> | ||
- Relies on [js-xlsx](https://github.com/SheetJS/js-xlsx) to parse/build excel sheets. | ||
- Relies on [SheetJS xlsx](https://github.com/SheetJS/sheetjs) module to parse/build excel sheets. | ||
- Built with [TypeScript](https://www.typescriptlang.org/) for static type checking with exported types along the | ||
@@ -136,4 +136,4 @@ library. | ||
```js | ||
const rowAverage = [[{t:'n', z:10, f:'=AVERAGE(2:2)'}], [1,2,3]; | ||
var buffer = xlsx.build([{name: "Average Formula", data: rowAverage}]); | ||
const rowAverage = [[{t: 'n', z: 10, f: '=AVERAGE(2:2)'}], [1, 2, 3]]; | ||
var buffer = xlsx.build([{name: 'Average Formula', data: rowAverage}]); | ||
``` | ||
@@ -140,0 +140,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15458