Skip to main content
Module

x/simple_utility/mod.full.ts>excelEncode

Simplify processing for Deno.
Go to Latest
function excelEncode
import { excelEncode } from "https://deno.land/x/simple_utility@v2.0.10/mod.full.ts";

Convert from workbook object to EXCEL workbook.

Examples

Example 1

const bin = await Deno.readFile("./book.xlsx");
const book = excelDecode(bin);
const enc = excelEncode(book);

Parameters

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

Returns

Uint8Array