read-excel-file
Version:
Read `.xlsx` files in a web browser or in Node.js
12 lines • 523 B
JavaScript
// An `.xlsx` `.zip` archive could contain all kinds of files,
// such as `.bin` printer settings or `.png` images, etc.
//
// Because `read-excel-file` doesn't support returning any of those types of data,
// there's no need to read those files from the `.xlsx` `.zip` archive,
// optimizing the unpacking process a little bit.
//
export default function filterZipArchiveEntry(_ref) {
var path = _ref.path;
return path.endsWith('.xml') || path.endsWith('.xml.rels');
}
//# sourceMappingURL=filterZipArchiveEntry.js.map