New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

testx-xlsx-parser

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testx-xlsx-parser

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

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
307
decreased by-8.63%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 26 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc