You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`node-aline` is a lightweight library for handling fragmented stream data. It ensures that chunks align at specified separator boundaries, making it ideal for processing newline-delimited formats such as JSONLines, CSV, or logs. This simplifies handling incomplete data in streams, especially in high-performance or real-time applications.
10
10
11
-
```
11
+
---
12
+
13
+
## Installation
14
+
15
+
Install using your preferred package manager:
16
+
17
+
### NPM
18
+
```bash
12
19
npm install aline
13
20
```
14
21
15
22
### Yarn
16
-
17
-
```
23
+
```bash
18
24
yarn add aline
19
25
```
20
26
21
-
## Sample Node.js Stream Transform
27
+
---
28
+
29
+
## Features
30
+
-**Stream Alignment**: Guarantees that each chunk aligns to a separator boundary (e.g., `'\n'`).
31
+
-**JSONLines & CSV Compatible**: Handles structured stream data efficiently.
32
+
-**Node.js & Web Support**: Works seamlessly in both Node.js and browser environments.
0 commit comments