data = data.toString()
    .split(eol)
    .map(e => e.trim())
    .filter(e => e.length)