highly inspired by this repo How to use npx js-is-weird # and follow the prompt After run the command check newly created file to see the result Run the output file you will get the decoded string node output.js Or you can try the example file ( if you clone the repo ). node example.js