New advertisers: 50% off your first month with code FIRSTMONTHSee slots
reason-machines avatar

Creationix Rx Data Store

Embedded data store that encodes JSON-shaped data for random-access queries without parsing or heap-heavy object graphs.

skills.sh installs
862
GitHub stars
98
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers the string and Uint8Array APIs, an inspect API for lazy AST traversal, and read-only Proxy decoding
  • Includes a CLI (rx) that converts between JSON and RX, selects sub-values with -s, and writes output with -w
  • Enforces read-only decoded values, so assignments and delete throw a TypeError
  • Designed for build steps that convert large JSON artifacts, such as deployment manifests, into a compact text-safe format for sparse runtime reads

Install

$ npx -y skills add reason-machines/trending-skills --skill creationix-rx-data-store -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

RX Data Store

Skill by ara.so — Daily 2026 Skills collection.

RX is an embedded data store for JSON-shaped data. Encode once, then query the encoded document in place — no parsing, no object graph, no GC pressure. Think of it as no-SQL SQLite: unstructured data with database-style random access.

Key benefits:

  • O(1) array access, O(log n) object key lookup on encoded data
  • Automatic deduplication of values and shared schemas
  • Text-safe encoding (copy-paste friendly, no binary tooling needed)
  • Minimal heap allocations (~10 vs millions for JSON parsing)
  • ~18x compression on real deployment manifests (92 MB → 5.1 MB)

Installation

npm install @creationix/rx        # library
npm install -g @creationix/rx     # CLI (global)
npx @creationix/rx data.rx        # CLI (one-off)

Core API

String API (most common)

import { stringify, parse } from "@creationix/rx";

// Encode
const rx = stringify({ users: ["alice", "bob"], version: 3 });
// Returns a string — store it anywhere you'd store JSON text

Details

Repository
github.com/reason-machines/trending-skills
Category
Databases
First seen
May 16, 2026

More from reason-machines/trending-skills

All 163

Similar to Creationix Rx Data Store

More Databases