lines.md
October 8, 2016 ยท View on GitHub
Stream transform for line-oriented text streams
import * as ez from 'ez-streams'
transform = ez.transforms.lines.parser(options)
creates a parser transform.optionsis reserved for future use.transform = ez.transforms.lines.formatter(options)
creates a formatter transform.options.eoldefines the line separator. It is set to\nby default.options.extraindicates if an extra line separator must be emitted or not at the end. It is false by default.