1.0.1 • Published 8 years ago

testx-xlsx-parser v1.0.1

Weekly downloads
301
License
ISC
Repository
-
Last release
8 years ago

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'}])
1.0.1

8 years ago

1.0.0

8 years ago

0.8.0

8 years ago

0.7.1

8 years ago

0.7.0

8 years ago

0.6.3

8 years ago

0.6.2

8 years ago

0.6.1

8 years ago

0.6.0

8 years ago

0.5.2

8 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.6

9 years ago

0.3.5

9 years ago

0.3.4

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago