line-stream is a simple Node.js transform stream that allows to split input data into lines. It's been written for educational purposes, do not rely on it for writing code that needs to run in production.
Use node-byline instead if you're looking for a robust solution.