readline-pager 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,16 +1,24 @@
|
|
|
1
1
|
# 📄 readline-pager
|
|
2
2
|
|
|
3
|
-
<p align="center"
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="https://raw.githubusercontent.com/devmor-j/readline-pager/main/logo.webp" alt="logo" width="349">
|
|
5
|
+
</p>
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
<p align="center">
|
|
8
|
+
<a href="https://www.npmjs.com/package/readline-pager">
|
|
9
|
+
<img src="https://img.shields.io/npm/v/readline-pager?color=brightgreen" alt="version">
|
|
10
|
+
</a>
|
|
11
|
+
<img src="https://img.shields.io/npm/dw/readline-pager" alt="downloads">
|
|
12
|
+
<img src="https://img.shields.io/github/stars/devmor-j/readline-pager" alt="stars">
|
|
13
|
+
</p>
|
|
6
14
|
|
|
7
|
-
`readline-pager` reads large text files page-by-page without loading the entire file into memory.
|
|
15
|
+
⚡ Memory-efficient, paginated file reader for Node.js with async iteration, prefetching, backward reading and optional worker support. `readline-pager` reads large text files page-by-page without loading the entire file into memory.
|
|
8
16
|
|
|
9
17
|
- ✅ Zero dependencies
|
|
10
18
|
- ✅ Async iterator (`for await...of`) + manual `next()` API
|
|
11
19
|
- ✅ Forward & backward reading (EOF → BOF)
|
|
12
20
|
- ✅ Optional worker thread mode (forward only)
|
|
13
|
-
- ✅ Up to ~
|
|
21
|
+
- ✅ Up to ~3x faster than Node.js `readline`
|
|
14
22
|
- ✅ ~97% test coverage & fully typed (TypeScript)
|
|
15
23
|
|
|
16
24
|
> **Important:**
|