Skip to content

titouandk/rgaa-spreadsheet-parser

Repository files navigation

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

About

A NodeJS library to parse RGAA audit spreadsheets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published