rgaa-spreadsheet-parser
v0.1.0
Published
A NodeJS library to parse RGAA audit spreadsheets.
Downloads
8
Maintainers
Readme
rgaa-spreadsheet-parser
A NodeJS library to parse official RGAA audit spreadsheets (.ods files).
Disclaimer
Do not use this library on untrusted spreadsheets!
Supported RGAA versions
- RGAA 4.1.2
Installation
npm install rgaa-spreadsheet-parser
Usage
import { parseRgaaSpreadsheet } from "rgaa-spreadsheet-parser";
const auditPromise = parseRgaaSpreadsheet({
rgaaVersion: "4.1.2",
spreadsheetPath: "rgaa-audit-spreadsheet.ods",
});
auditPromise.then((audit) => {
console.log(audit.metadata);
console.log(audit.pages);
console.log(audit.criteria);
});
Development
Inside the project directory, run:
npm install
npm run build