decode a binary code to text in node js site:stackoverflow.com code example
Example: binary to ascii javascript
const binaryAgent = str => str.replace(/\d+./g, char => String.fromCharCode(`0b${char}`));
const binaryAgent = str => str.replace(/\d+./g, char => String.fromCharCode(`0b${char}`));