open-index/open-npm huggingface dataset:
npm package: @fewangsit/xlsx-util
Description: Internal utility for handling Excel files, based on SheetJS
Author: Wangsit FE Developer
Latest version: 1.0.0

# @fewangsit/xlsx-util

> A lightweight utility for reading and writing Excel files (XLSX) built on top of [SheetJS](https://sheetjs.com/). Designed for internal use in Fewangsit projects.

## Features

- Read `.xlsx`, `.xlsm`, `.xlsb`, `.csv`, and more
- Write and export Excel files from JavaScript/TypeScript
- Wrapper around [SheetJS](https://github.com/SheetJS/sheetjs) with a simplified internal API

## Installation

```bash
npm install @fewangsit/xlsx-util
```

## Usage

```ts
import * as XLSX from "@fewangsit/xlsx-util";

// Read from file or buffer
const workbook = XLSX.readFile("data.xlsx");

// Get worksheet
const worksheet = workbook.Sheets[workbook.SheetNames[0]];

// Convert worksheet to JSON
const data = XLSX.utils.sheet_to_json(worksheet);
console.log(data);
```

## API

This package re-exports some functionality of SheetJS (`XLSX`).
If you need to exports more, just uncomment the expors;

For complete API, refer to the [SheetJS documentation](https://docs.sheetjs.com/docs/).

## License

Apache-2.0 — see the [LICENSE](./LICENSE) file for details.

---

> 💠 Maintained internally by Fewangsit for internal applications. Not intended for general public use.