npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

kore-fileformat

v1.7.29

Published

KORE Binary Format — high-performance columnar file format with 11 ACID features, 8-language FFI

Readme

KORE FileFormat — Node.js / TypeScript

Version 1.7.29 | npm | GitHub

World's fastest human-readable columnar format. .kore v3 opens in any text editor AND reads 12x faster than CSV.

Install

npm install kore-fileformat

.kore v3 Format

KORE2 offset=0000000455
# KORE Format v3.0
# Rows: 100,000  Columns: 3
# Compressed: 28,500 bytes (Rust ZSTD/LZ4)
# Schema:
#   price                F64
#   qty                  I64
# Preview (first 5 rows):
#   [price=10.5 | qty=100]
[binary compressed data]

Quick Start

const kore = require('kore-fileformat');

// Write
const block = {
  columns: [
    { name: 'price', dtype: 2, data: [10.5, 20.0, 30.75] },
    { name: 'qty',   dtype: 1, data: [100,  200,  300]   },
  ],
  numRows: 3
};
kore.writeFile('data.kore', block);

// Read
const result = kore.readFile('data.kore');
console.log(`${result.numRows} rows, ${result.columns.length} cols`);

// Inspect header only (instant, no data load)
const header = kore.readHeader('data.kore');
console.log(header);

API Reference

| Function | Description | |----------|-------------| | writeFile(path, block) | Write .kore v3 (compressed + human-readable header) | | readFile(path) | Read .kore → DataBlock | | readHeader(path) | Read text header only (no data load) | | crc32(data: Buffer) | CRC32 checksum → number |

Benchmark

| Format | Read | File Size | |--------|------|-----------| | KORE .kore | 79 ns/row | 305 KB | | JSON | 1,096 ns/row | 6,786 KB | | CSV | 1,252 ns/row | 3,368 KB |

Install

npm install [email protected]

Requires kore_ffi.dll / libkore_ffi.so (included in npm package or build from source):

cargo build --release -p kore-ffi

Quick Start (JavaScript)

const kore = require('./kore_ffi.js');

// --- Write ---
const block = {
  columns: [
    { name: 'price',    dtype: 2, data: [10.5, 20.0, 30.75] },
    { name: 'quantity', dtype: 1, data: [100,  200,  300]   },
  ],
  numRows: 3
};
kore.writeFile('data.kore', block);

// --- Read ---
const result = kore.readFile('data.kore');
console.log(`${result.numRows} rows, ${result.columns.length} columns`);

// --- CRC32 ---
const checksum = kore.crc32(Buffer.from('hello kore'));
console.log(`crc32 = 0x${checksum.toString(16)}`);  // 0x4b029b4b

Quick Start (TypeScript)

import * as kore from 'kore-fileformat';

const block = new kore.DataBlock();
block.addColumn('price', kore.DataType.F64, [10.5, 20.0, 30.75]);
block.addColumn('qty',   kore.DataType.I64, [100,  200,  300]);

await kore.writeFile('data.kore', block);
const result = await kore.readFile('data.kore');
console.log(result.numRows);  // 3

API Reference

| Function | Description | |----------|-------------| | crc32(data: Buffer) | CRC32 checksum → number | | writeFile(path, block) | Write DataBlock to .kore | | readFile(path) | Read .kore → DataBlock |

Run Tests

npx jest kore_fileformat.test.ts
node test_phase3.test.js