pkrumins/node-lazy — Issue #11: Newline lines from .lines from createFileStream converted to 0
Author: thegoleffect
Created: 2011-11-30 23:01:44+00:00
State: open

I'm using code like this:

new Lazy(fs.createReadStream(fpath, {flags: 'r', encoding: 'utf8'}))
.on("end", finished)
.lines
.forEach((line) ->
all_lines.push(line)
)

My files have blank lines that are just newline characters. Any lines like that get converted to "\u0030" aka the "0" character. Is this intentional?