Apache Parquet file writer in JavaScript
Go to file
2025-03-26 23:59:04 -07:00
.github/workflows Initial JS project 2025-03-21 00:08:34 -07:00
src Fix RLE encoding bug 2025-03-26 23:59:04 -07:00
test Fix RLE encoding bug 2025-03-26 23:59:04 -07:00
.gitignore Snappy compression 2025-03-26 23:38:25 -07:00
eslint.config.js Thrift writer 2025-03-25 10:30:37 -07:00
LICENSE Initial JS project 2025-03-21 00:08:34 -07:00
package.json Handle byte array vs string, and change parquetWrite column api 2025-03-26 01:01:04 -07:00
README.md Fix RLE encoding bug 2025-03-26 23:59:04 -07:00
tsconfig.build.json Handle byte array vs string, and change parquetWrite column api 2025-03-26 01:01:04 -07:00
tsconfig.json Thrift writer 2025-03-25 10:30:37 -07:00

Hyparquet Writer

npm workflow status mit license coverage dependencies

Usage

Call parquetWrite with a list of columns, each column is an object with a name and data field. The data field should be an array of same-type values.

import { parquetWrite } from 'hyparquet-writer'

const arrayBuffer = parquetWrite([
  { name: 'name', data: ['Alice', 'Bob', 'Charlie'] },
  { name: 'age', data: [25, 30, 35] },
])

References