Unable find any specific pure javascript lib to implement below python syntax.
below is python syntax.
result = struct.pack(\'