'use strict'

module.exports = trimLines

var ws = /[ \t]*\n+[ \t]*/g
var newline = '\n'

function trimLines(value) {
  return String(value).replace(ws, newline)
}

'use strict'

module.exports = trimLines

function trimLines(value) {
  return String(value).replace(/[ \t]*\n+[ \t]*/g, '\n')
}

Refactor code to improve bundle size
Refactor code to improve bundle size
