read-excel-file
Version:
Read `.xlsx` files in a web browser or in Node.js
18 lines (17 loc) • 632 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = filterZipArchiveEntry;
// 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.
//
function filterZipArchiveEntry(_ref) {
var path = _ref.path;
return path.endsWith('.xml') || path.endsWith('.xml.rels');
}
//# sourceMappingURL=filterZipArchiveEntry.js.map