var hostports = compact2string.multi(new Buffer("0A0A0A05008064383a636f6d", "hex"));console.log(hostports);
=> [ '10.10.10.5:128', '100.56.58.99:28525' ]
IPv6 version: compact2string.multi6()
Licence
MIT — see LICENSE for the full copyright and permission notice.
This MIT notice also applies to compact2string 1.4.1 (source revision
c68be5e).
That release’s package metadata says BSD, while its README says MIT; the
licence is clarified here as MIT. The already-published npm archive is unchanged.