NewsBlur/node/node_modules/next-line
2019-04-13 19:26:30 -04:00
..
.npmignore Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
.travis.yml Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
index.js Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
LICENSE Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
package.json I don't know why node_modules bounces between states. Might have to make it machine-specific. 2019-04-13 19:26:30 -04:00
README.md Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00
test.js Upgrading node and npm as well as all packages. 2019-04-13 14:44:10 -04:00

next-line

Iterator over lines in a string:

  • Support different newline types: CRLF, LF, CR
  • Support mixed newline formats in the same string

Build status js-standard-style

Installation

npm install next-line

Usage

var next = require('next-line')('foo\r\nbar\nbaz')

console.log(next()) // => foo
console.log(next()) // => bar
console.log(next()) // => baz
console.log(next()) // => null

License

MIT