Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/deps/sheetjs.ts>WritingOptions

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface WritingOptions
import { type WritingOptions } from "https://deno.land/x/lume@v1.16.1/deps/sheetjs.ts";

Options for write and writeFile

Properties

optional
type:
| "base64"
| "binary"
| "buffer"
| "file"
| "array"
| "string"

Output data encoding

optional
bookSST: boolean

Generate Shared String Table

optional
bookType: BookType

File format of generated workbook

optional
compression: boolean

Use ZIP compression for ZIP-based formats

optional
ignoreEC: boolean

Suppress "number stored as text" errors in generated files

optional
Props: Properties

Override workbook properties on save

optional
codepage: number

Desired codepage for legacy file formats

This requires encoding support to be loaded. It is automatically loaded in xlsx.full.min.js and in CommonJS / Extendscript, but an extra step is required in React / Angular / Webpack / ESM deployments.

Check the relevant guide https://docs.sheetjs.com/docs/getting-started/

optional
numbers: string

Base64 encoding of NUMBERS base for exports