문제

I have some JavaScript code which I want to make more readable. However, due to the amount of code I want to use a tool which does this automatically for me.

  • Are there such tools already available or do I have to manually perform some "find/replace-alls"?

The code which I want to convert is written on a single line without spaces.

도움이 되었습니까?

해결책

Quick search found http://jsbeautifier.org/ which seems to do what you are looking for online.
Search terms: javascript beautifier

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top