Bun
Module scripts are available at https://cdn.sheetjs.com/.
https://cdn.sheetjs.com/xlsx-0.19.3/package/xlsx.mjs is the URL for 0.19.3
After downloading the script, it can be directly imported:
import * as XLSX from './xlsx.mjs';
import * as fs from 'fs';
XLSX.set_fs(fs);
Bun support is considered experimental.
Great open source software grows with user tests and reports. Any issues should be reported to the Bun project for further diagnosis.
info
Watch the repo or subscribe to the RSS feed to be notified when new versions are released!
Encoding support
If Encoding support is required, cpexcel.full.mjs
must be manually imported.
https://cdn.sheetjs.com/xlsx-0.19.3/package/dist/cpexcel.full.mjs is the URL for 0.19.3
/* load the codepage support library for extended support with older formats */
import * as cptable from './cpexcel.full.mjs';
XLSX.set_cptable(cptable);