Part of Quasic's JavaScript collection
JavaScripts for formatting objects and text for display or printing. Some scripts may be used to format source code, though the scope is general text formatting.
Comparison of JavaScript to string methods
The master branch may be tested here.
Originally, some of these were part of scripts/format and others started in various specialized projects of mine.