Writing option "type" not documented #432
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#432
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
One of the options that is necessary when using
xslx.write
is thetype
option. According to the functionwrite_zip_type
, it must be set tobase64
,binary
,buffer
, orfile
, or else an error is thrown.@tomkel you're right, it should be included in https://github.com/SheetJS/js-xlsx/#writing-options. The possible values mirror the read functions and are listed in another issue: https://github.com/SheetJS/js-xlsx/issues/337#issuecomment-281284479
type
"base64"
"binary"
n
-th byte isdata.charCodeAt(n)
)"buffer"
"file"
@SheetJSDev that table should be copied into the README