This changes some type definitions so that sheetjs accepts readonly arrays in places where it's not mutating the array anyway. For example, without this change, the following code would not compile: ``` const myData: ReadonlyArray<{ col1: string, col2: string}> = [{ col1: 'a', col2: 'b' }]; const myWorksheet = utils. json_to_sheet(myData); ``` This theoretically should work - sheetjs isn't mutating the myData array anyway, so it should accept a readonly array as input. Signed-off-by: Alex von Brandenfels <sweater-baron@noreply.git.sheetjs.com> |
||
---|---|---|
.github | ||
bin | ||
bits | ||
dist | ||
misc | ||
modules | ||
packages | ||
tests | ||
types | ||
.eslintignore | ||
.eslintmjs | ||
.eslintrc | ||
.flowconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.jscs.json | ||
.jshintrc | ||
.npmignore | ||
.spelling | ||
.travis.yml | ||
bower.json | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
estk.jsx | ||
index.html | ||
LICENSE | ||
make.cmd | ||
Makefile | ||
multiformat.lst | ||
package.json | ||
README.md | ||
shim.js | ||
test.js | ||
test.mjs | ||
test.mts | ||
test.sh | ||
test.test.mjs | ||
test.ts | ||
testnocp.ts | ||
tests.lst | ||
xlsx.flow.js | ||
xlsx.full.min.js | ||
xlsx.js | ||
xlsx.mini.flow.js | ||
xlsx.mini.js | ||
xlsx.mjs | ||
xlsxworker.flow.js | ||
xlsxworker.js |
SheetJS
The SheetJS Community Edition offers battle-tested open-source solutions for extracting useful data from almost any complex spreadsheet and generating new spreadsheets that will work with legacy and modern software alike.
SheetJS Pro offers solutions beyond data processing: Edit complex templates with ease; let out your inner Picasso with styling; make custom sheets with images/graphs/PivotTables; evaluate formula expressions and port calculations to web apps; automate common spreadsheet tasks, and much more!
Documentation
Constellation
-
https://oss.sheetjs.com/notes/: File Format Notes
-
ssf
: Format data using ECMA-376 spreadsheet format codes -
xlsx-cli
: NodeJS command-line tool for processing files -
cfb
: Container (OLE/ZIP) file processing library -
codepage
: Legacy text encodings for XLS and other legacy spreadsheet formats -
dta
: Stata DTA file processor
License
Please consult the attached LICENSE file for details. All rights not explicitly granted by the Apache 2.0 License are reserved by the Original Author.