# testx-xlsx-parser

> Simple XLSX file parser for use with the testx library. Converts an XLSX sheet to testx test script (JSON)

Latest version **1.0.1** (published 2016-10-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install testx-xlsx-parser
pnpm add testx-xlsx-parser
yarn add testx-xlsx-parser
bun add testx-xlsx-parser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-10-26 |
| First published | 2015-09-16 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+5 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Greyarch BV |
| Maintainers | greyarch |
| Keywords | xlsx, test, testx, excel |

## Links

- npm: https://www.npmjs.com/package/testx-xlsx-parser
- Repository: http://www.github.com/greyarch/testx-xlsx-parser
- npm.io page: https://npm.io/package/testx-xlsx-parser

## Dependencies (5)

- [xlsx](https://npm.io/package/xlsx.md) ^0.8.0
- [lodash](https://npm.io/package/lodash.md) ^4.16.4
- [moment](https://npm.io/package/moment.md) ^2.15.2
- [formulajs](https://npm.io/package/formulajs.md) ^1.0.8
- [coffee-errors](https://npm.io/package/coffee-errors.md) ^0.8.6

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-10-26
- 1.0.0 — 2016-10-25
- 0.8.0 — 2016-09-25
- 0.7.1 — 2016-05-31
- 0.7.0 — 2016-03-29
- 0.6.3 — 2016-03-21
- 0.6.2 — 2016-03-21
- 0.6.1 — 2016-03-21
- 0.6.0 — 2016-02-15
- 0.5.2 — 2016-01-08
- 0.5.1 — 2015-10-29
- 0.5.0 — 2015-10-27
- 0.4.1 — 2015-10-08
- 0.4.0 — 2015-10-08
- 0.3.6 — 2015-10-06
- … 10 more at https://npm.io/package/testx-xlsx-parser/versions

## README

testx-xlsx-parser
=====

Simple XLSX file parser for use with the testx library. Converts a test script in a XLSX sheet to testx test script (JSON).

## API
This library exposes only one method **parse** that takes 3 arguments *fileName*, *sheetName* and *formatLocale* and returns a promise that resolves to the JSON representation of the test script on that sheet. Example:

```
  xlsx = require('testx-xlsx-parser')
  xlsx.parse('xls-files/test.xlsx', 'Sheet1', 'NL')
```

The format locale can be a two letter string or an array of regex replacements that are applied to the format string of each cell, for example:

```
  xlsx.parse('xls-files/test.xlsx', 'Sheet1', [{from: /JJ/g, to: 'YY'}, {from: /jj/g, to: 'yy'}])
```

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