stream-newline
v1.0.0
Published
Ensure stream ends with a newline
Readme
stream-newline 
Ensure stream ends with a newline
Usage
var streamNewline = require("stream-newline")
// A stream that may or may not have a newline at the end
var fileStream = fs.createReadStream("README.txt")
// Pipe fileStream to stdout and guarantee a newline at the end
fileStream.pipe(streamNewline()).pipe(process.stdout)API
streamNewline([opts])
Creates a new stream that ensures there will be a newline at the end. The optional opts argument is an options object that can contain the following properties:
eol: A custom end-of-line sequence. Defaults toos.EOL(will be\non POSIX,\r\non Windows).
