creationix/rx
View on GitHub ↗ ★ 382 TypeScript
RX encoder, decoder, and CLI data tool
7 mentions on Hacker News by 4 people: 1 story, 6 comments · first 2026-03-18 · latest 2026-03-19
20082026
-
…RX and when you should not. Most uses of JSON should probably stay JSON. Let me know what you think https://github.com/creationix/rx/blob/main/README.md#when-to...
comment by creationix · 2026-03-19 · in RX – a new random-access JSON alternative -
Initial format docs are now here: https://github.com/creationix/rx/blob/main/docs/rx-format.md Railroad diagrams will come later when I have more time.
comment by creationix · 2026-03-19 · in RX – a new random-access JSON alternative -
…to include the description of the format with examples. I did add some small examples to the repo. https://github.com/creationix/rx/blob/main/samples/quest-log... The older, slightly outdated, design spec is in the older rex repo (this…
comment by creationix · 2026-03-19 · in RX – a new random-access JSON alternative -
Came to the same conclusion the moment I had to hunt to see the outputs https://github.com/creationix/rx/tree/main/samples
comment by jy14898 · 2026-03-19 · in RX – a new random-access JSON alternative -
…massive. This is really elegant. My one eyebrow raise is - is there no binary format specification? https://github.com/creationix/rx/blob/main/rx.ts#L1109 is pretty well commented, but you can't call it a JSON alternative without having…
comment by btown · 2026-03-19 · in RX – a new random-access JSON alternative -
Very cool stuff! This did catch my eye, however: https://github.com/creationix/rx?tab=readme-ov-file#proxy-be... While this is a neat feature, this means it is not in fact a drop in replacement for JSON.parse, as you will be breaking any…
comment by garrettjoecox · 2026-03-19 · in RX – a new random-access JSON alternative -
▲ 146
RX – a new random-access JSON alternativestory by creationix · 2026-03-18 · 108 comments