Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/simple_utility/mod.pure.full.ts>sheetEncode

Simplify processing for Deno.
Latest
function sheetEncode
import { sheetEncode } from "https://deno.land/x/simple_utility@v2.3.2/mod.pure.full.ts";

Convert from workbook object to EXCEL workbook.

Examples

Example 1

const bin = await Deno.readFile("./book.xlsx");
const book = sheetDecode(bin);
const enc = sheetEncode(book);

Parameters

sheets: Record<string, string[][]>
optional
cp: number
optional
pw: string

Returns

Uint8Array