The subset of textutils using only core_kernel and working in JavaScript
