one-liner

Transform a string to a one line string by converting and merging line breaks/carriages, tabs, spaces

string-true-oneline

This module transforms a string to a oneline string considering escape sequences: so('test noop test') -> 'noop test'

heredocument

Here document built on ES2015 template string literals like Ruby's <<~