No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
test
.gitignore
README.md
lazylines.js
package.json

README.md

lazylines – read a text stream, line by line

This module allows you to read a text stream, one line at a time, lazily.

Example:

var ll = require("lazylines.js");

process.stdin.resume();
var inp = new ll.LineReadStream(process.stdin);
var count = 1;
inp.on("line", function (line) {
    console.log(count+": "+ll.chomp(line));
    count++;
});

Installation:

npm install lazylines

Tests