A NodeJS library to parse official RGAA audit spreadsheets (.ods files).
Do not use this library on untrusted spreadsheets!
- RGAA 4.1.2
npm install rgaa-spreadsheet-parser
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);
});
Inside the project directory, run:
npm install
npm run build