The CRAM format addresses rising DNA storage costs for short-read sequencing by aligning reads to a reference genome and encoding the resulting alignment with Huffman, subexponential, Elias gamma, rANS, gzip, and other codes. The CRAM codec is complex, and until now, there has been no JavaScript implementation.