linecount
Counts number of lines in a file (or a stream)
Installation
npm install --save linecount
Usage
var linecount = // Or, promised:var linecount = // You can also pass a stream. Note that this will drain the stream though, so you can't read from the same stream after counting it:
License
MIT-licensed. See LICENSE.