creationix

creationix / rx

Public

RX encoder, decoder, and CLI data tool

59
1
100% credibility
Found Mar 19, 2026 at 59 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

REXC is a compact data format and toolkit that shrinks files, speeds up lookups, and uses almost no memory as a drop-in alternative to JSON.

How It Works

1
🔍 Discover a smarter way to handle data

You hear about a tool that makes your bulky data files tiny and lightning-fast to search, perfect for big lists or configs.

2
📦 Get the tool

Grab the library or command-line version with a simple download, ready to use in seconds.

3
Shrink your data

Feed in your regular data file and watch it transform into a super-compact version that's 18 times smaller.

4
👁️ Peek inside

Open the shrunken file to browse it like a tree, or pull out just the parts you need with easy commands.

5
Use it anywhere

Drop it into your apps just like regular data—read values instantly without loading everything into memory.

🎉 Data flies

Your files are small, searches are instant, and everything runs smoothly with barely any memory used.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 59 to 59 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is rx?

rx is a TypeScript library and CLI for REXC, a compact binary format that's a drop-in for JSON.stringify and JSON.parse. It shrinks payloads up to 18x via deduped strings, shared schemas, and prefix compression, while enabling 23,000x faster single-key lookups directly on encoded bytes—no full deserialization needed. The parsed result is a read-only Proxy over the buffer with full JS interop (Object.keys, iteration, JSON.stringify), plus a CLI for pretty-printing trees, JSON/REXC conversion, and path-based selection like `rx data.rx -s users 0 name`.

Why is it gaining traction?

Unlike JSON's all-or-nothing parse (slow, memory-hungry) or no-cache streaming, rx's encoder-decoder architecture skips deserialization for O(log n) binary searches on indexed objects, with near-zero heap pressure. Devs dig the low-level cursor API for zero-alloc traversal and prefix scans, plus streaming encode chunks—ideal for github rx tools or auto_rx github workflows. Benchmarks on 35k-key manifests show it crushes JSON on size, speed, and memory.

Who should use this?

Backend devs managing large configs, deployment manifests, or API payloads where JSON bloat kills perf. Fullstack teams building CLIs or data pipelines needing fast lookups on unparsed blobs, like github rx angular state or github rx net caches. Not for casual JSON—target those chasing encoder decoder model efficiency in node apps.

Verdict

Grab it for perf-critical data if you're ok with read-only output and early maturity (59 stars, 1.0% credibility). Solid docs, tests, and CLI make it production-ready for niches, but watch for adoption before betting big.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.