Wordwrap in javascript

Wordwrap for console outputs I need a wordwrap because I want to align the text (mostly build tools outputs) on a specific colon on the screen. It’s easy with a bit of regex. It wraps if there is at least a character of this list ‘ ‘, ‘\n’, ‘/’ or ‘\\’ otherwise it cuts at […]