SAP-BTP-Spielwiese/app1/node_modules/next-line/README.md
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

30 lines
660 B
Markdown

# 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](https://travis-ci.org/watson/next-line.svg?branch=master)](https://travis-ci.org/watson/next-line)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
## Installation
```
npm install next-line
```
## Usage
```js
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