JS Beautifier
Reformat compact JavaScript, HTML and CSS for readability.
beautifier · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install [email protected]. Expand a one-line JavaScript function to multiple indented lines.
What we tested
2.0.3. Expand a one-line JavaScript function to multiple indented lines. Returned the exact requested spacing and newline for the sample function.