# ts-xlsx

> A working XLSX Library for typescript (Rebuild of the original xlsx)

Latest version **0.0.11** (published 2017-05-13) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install ts-xlsx
pnpm add ts-xlsx
yarn add ts-xlsx
bun add ts-xlsx
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.11 |
| Published | 2017-05-13 |
| First published | 2016-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 34 |
| Author | Hagai Cohen |
| Maintainers | hagai.co |
| Keywords | xlsx, typescript, xls, excel, office, angular 2, spreadsheet, ods, xlsm, xlsb, xlsx |

## Links

- npm: https://www.npmjs.com/package/ts-xlsx
- Repository: https://github.com/DxCx/ts-xlsx
- Homepage: https://github.com/DxCx/ts-xlsx#readme
- Issues: https://github.com/DxCx/ts-xlsx/issues
- npm.io page: https://npm.io/package/ts-xlsx

## Dependencies (1)

- [@types/xlsx](https://npm.io/package/@types/xlsx.md) 0.0.34

## Alternatives

- [csv-to-markdown-table](https://npm.io/package/csv-to-markdown-table.md) — 47.0K weekly downloads
- [@sapphire/ratelimits](https://npm.io/package/@sapphire/ratelimits.md) — 4.4K weekly downloads
- [js-csvparser](https://npm.io/package/js-csvparser.md) — 2.0K weekly downloads
- [@adadapted/js-sdk](https://npm.io/package/@adadapted/js-sdk.md) — 251 weekly downloads
- [@grapecity/spread-sheets-sparklines](https://npm.io/package/@grapecity/spread-sheets-sparklines.md) — 103 weekly downloads

## Recent versions

- 0.0.11 (latest) — 2017-05-13
- 0.0.10 — 2017-04-17
- 0.0.9 — 2017-02-15
- 0.0.8 — 2016-11-15
- 0.0.7 — 2016-08-12
- 0.0.6 — 2016-08-12
- 0.0.4 — 2016-08-11
- 0.0.3 — 2016-08-11
- 0.0.2 — 2016-08-07
- 0.0.1 — 2016-08-07

## README

# ts-xlsx

A working XLSX Library for typescript (Rebuild of the original xlsx):
https://github.com/SheetJS/js-xlsx/

Tested to be working with Angular 2!!!

How to install:
-----------
All you need to do is to install the library:
```
    npm install --save ts-xlsx
```

And then the typings for the library:
```
	typings install --save --global dt~xlsx
```
or
```
	npm install --save @types/xlsx
```

And then you can use it :)

How to use:
-----------
Just import the functions and use them.

``` typescript
/* You can use as namespace: */
import * as XLSX from 'ts-xlsx';
let wb: XLSX.IWorkBook = XLSX.read(...)
```
``` typescript
/* Or straight forward import */
import { read, IWorkBook } from 'ts-xlsx';
let wb: IWorkBook = read(...)
```

Example Respository:
-----------
if you are having troubles integrating into Angular 2,
you can review this [Example Repository](https://github.com/florianschwanz/xlsx-drop-parse-demo) showing a working usecase of fileDrop.


more documentation is provided by the original author of the library,
as this is just a wrapper.

---
_Source: https://npm.io/package/ts-xlsx · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
