SAP-BTP-Spielwiese/app1/node_modules/next-line
Markus Rettig 775ac7b58c completed step 3 from the tutorial
you must login with an BTP account in order to see the app
2024-02-08 16:13:36 +01:00
..
.npmignore completed step 3 from the tutorial 2024-02-08 16:13:36 +01:00
.travis.yml completed step 3 from the tutorial 2024-02-08 16:13:36 +01:00
index.js completed step 3 from the tutorial 2024-02-08 16:13:36 +01:00
LICENSE completed step 3 from the tutorial 2024-02-08 16:13:36 +01:00
package.json completed step 3 from the tutorial 2024-02-08 16:13:36 +01:00
README.md completed step 3 from the tutorial 2024-02-08 16:13:36 +01:00
test.js completed step 3 from the tutorial 2024-02-08 16:13:36 +01: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