UNPKG

datapilot-cli

Version:

Enterprise-grade streaming multi-format data analysis with comprehensive statistical insights and intelligent relationship detection - supports CSV, JSON, Excel, TSV, Parquet - memory-efficient, cross-platform

16 lines (14 loc) 449 B
"use strict"; // eslint-disable-next-line node/no-unsupported-features/node-builtins const textDecoder = typeof TextDecoder === 'undefined' ? null : new TextDecoder('utf-8'); function bufferToString(chunk) { if (typeof chunk === 'string') { return chunk; } if (textDecoder) { return textDecoder.decode(chunk); } return chunk.toString(); } exports.bufferToString = bufferToString; //# sourceMappingURL=browser-buffer-decode.js.map