Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/simple_utility/mod.full.ts>excelEncodeRaw

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

Convert from sheetjs raw workbook object to EXCEL workbook.

Examples

Example 1

const bin = await Deno.readFile("./book.xlsx");
const book = excelDecodeRaw(bin);
const enc = excelEncodeRaw(book);

Parameters

optional
cp: number
optional
pw: string

Returns

Uint8Array