Is there a JavaScript library for generating binary data?
I am currently working on a browser-based world editor for Survivalcraft, and I have successfully implemented world import functionality. I am using kaitai struct to unserialize the data. Is there any library for JavaScript that can be used to serialize the data? I need it to have the ability to choose between big and little endian.