https://github.com/jwebcoder/deno_readline
Reads a file line by line on Deno
https://github.com/jwebcoder/deno_readline
Last synced: about 1 year ago
JSON representation
Reads a file line by line on Deno
- Host: GitHub
- URL: https://github.com/jwebcoder/deno_readline
- Owner: JWebCoder
- License: mit
- Created: 2020-05-24T08:00:38.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-24T08:09:28.000Z (about 6 years ago)
- Last Synced: 2025-02-05T08:08:27.869Z (over 1 year ago)
- Language: TypeScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deno Readline
Reads a file line by line
## Usage
```typescript
import { readline } from "https://raw.githubusercontent.com/JWebCoder/deno_readline/master/mod.ts";
for await (const line of readline('./mod.ts')) {
console.log('line', line);
}
```