Hyparquet Writer is a JavaScript library for writing Apache Parquet files, focused on being lightweight and fast. Current stable version is 0.15.6, with active development on GitHub under the hyparam organization. It is a companion to the hyparquet reader library. Key differentiators: pure JavaScript with no native dependencies, supports a wide range of Parquet logical types (STRING, JSON, TIMESTAMP, UUID, FLOAT16, GEOMETRY, etc.), automatic type inference, and optional SNAPPY compression. It outputs Parquet files compatible with the Parquet specification.
npm install hyparquet-writerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates writing a Parquet file to an ArrayBuffer with two typed columns using parquetWriteBuffer.
Use named imports: import { parquetWriteBuffer } from 'hyparquet-writer' instead of import parquetWriteBuffer from 'hyparquet-writer'.Use import or dynamic import: const { parquetWriteBuffer } = await import('hyparquet-writer')Specify the 'type' property for each column in columnData. Supported types: BOOLEAN, INT32, INT64, FLOAT, DOUBLE, BYTE_ARRAY, STRING, JSON, TIMESTAMP, UUID, FLOAT16, GEOMETRY, GEOGRAPHY, VARIANT.
Remove the 'version' option from ParquetWriteOptions.
Use a named import: import { parquetWriteBuffer } from 'hyparquet-writer'Use dynamic import: const { parquetWriteBuffer } = await import('hyparquet-writer')Ensure data type matches the specified or inferred type. Use JSON.stringify for JSON columns.