$ pip install jsbeautifier
$ js-beautify file_name.js
I appreciate you reading. I hope it’s helpful to you.
Thanks for reading. Happy coding!