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

8 lines 280 B
module.exports = function initBuffer(val) { // assume old version var nodeVersion = process && process.version ? process.version : "v5.0.0"; var major = nodeVersion.split(".")[0].replace("v", ""); return major < 6 ? new Buffer(val) : Buffer.from(val); };