react-data-export 1.0 is being rewritten from scratch (see the README). Until the first beta, the API is not settled, so please open an issue to discuss before sending a feature PR.
git clone https://github.com/securedeveloper/react-data-export
cd react-data-export
npm ciUse Node 22.22.2+ or 24.15+ (.nvmrc pins 26). Older 22.x/24.x releases are below the jsdom and tsdown engine floors.
npm run typecheck
npm test
npm run build
npm run smoke- Library code lives in
packages/react-data-export/src, tests inpackages/react-data-export/test(Vitest + React Testing Library). - Everything is TypeScript with
stricton. packages/react-data-export/test/conformanceruns javascript-excel's conformance corpus through the public API (docs/conformance.md). The corpus is copied from javascript-excel's tag for the installed version: after a javascript-excel upgrade, runnpm run conformance:syncand commit the result (CI checks it). If the corpus changed,npm run conformance:doc -w react-data-exportupdates the doc. With openpyxl installed (pip install openpyxl==3.1.5; setRDE_PYTHONfor a virtualenv's python), the tests also open every file in openpyxl.- New dependencies need a reason in the PR description. The library itself should stay free of runtime dependencies other than the spreadsheet engine.
Bug reports and PRs against 0.6.x are welcome as issues; the 0.x code is at the v0.6.0 tag.