What are the Javascript functions or libraries that are equivalent to Ruby's pack and unpack functions for the Array class? I'm particularly interested in converting hex strings to strings.
irb(main):022:0> ["446f67"].pack("H*") => "Dog"
I'm not a javascript programmer and would rather not roll my own converter if libraries are available.