[ACCEPTED]-pack / unpack functions for node.js-unpack
https://github.com/pgriess/node-jspack appears to be a straight-up port of Python's 5
struct API for packing binary data, but it's implemented 4 in JS. It doesn't appear to be packaged 3 for npm yet.
https://github.com/substack/node-binary provides unpacking, also implemented 2 in JS, and you can install it with
npm install binary if you 1 have npm installed.
https://github.com/ryanrolds/bufferpack is another solution
jBinary is another tool in this space which seems 3 to be actively maintained (as of late 2014). It 2 includes sample specifications for a variety of well-known formats, e.g. tar, ico 1 and mp3.
More Related questions