read Functions
Functions exported from src/read.ts
read
function read(data: any, opts?: ReadOptions): Promise<WorkBook>Parameters
| Name | Type | Description |
|---|---|---|
| data | any | File contents as Uint8Array, ArrayBuffer, Buffer, base64 string, binary string, or plain text string |
| opts (optional) | ReadOptions | Read options controlling parsing behavior |
Returns
Promise<WorkBook>
Promise resolving to a parsed WorkBook object