method promises.FileHandle.readLines
Usage in Deno
```typescript import { type promises } from "node:node__fs.d.ts"; ```
FileHandle.readLines(options?: CreateReadStreamOptions): ReadlineInterface
Convenience method to create a `readline` interface and stream over the file.
See `filehandle.createReadStream()` for the options.
```js
import { open } from 'node:fs/promises';
const file = await open('./some/file/to/read');
for await (const line of file.readLines()) {
console.log(line);
}
```
optional
options: CreateReadStreamOptions
ReadlineInterface