next-line
1.1.0 • Public • Published next-line
Iterator over lines in a string:
- Support different newline types: CRLF, LF, CR
- Support mixed newline formats in the same string

Installation
npm install next-line
Usage
var next = require('next-line')('foo\r\nbar\nbaz')
console.log(next())
console.log(next())
console.log(next())
console.log(next())
License
MIT
Package Sidebar
Install
Weekly Downloads