-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.95 KB
/
Copy pathpackage.json
File metadata and controls
68 lines (68 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "batched-items-accumulator",
"version": "2.0.0",
"description": "A lightweight utility for Node.js projects that accumulates items into fixed-size batches (number-of-items wise), preserving insertion order. Streams items directly into batches at runtime, eliminating the overhead of post-processing a 1D array - a common approach in other batch or chunk-oriented packages. It abstracts batch management, allowing users to focus on application logic. Ideal for delayed processing tasks such as bulk write operations to databases, blob storage, and batched publishing of Kafka messages.",
"repository": {
"type": "git",
"url": "git+https://github.com/ori88c/batched-items-accumulator.git"
},
"contributors": [
"Ori Cohen (https://github.com/ori88c/)"
],
"homepage": "https://github.com/ori88c/batched-items-accumulator#readme",
"author": "Ori Cohen",
"license": "Apache-2.0",
"scripts": {
"format": "prettier --write \"src/**/*.ts\"",
"build": "tsc",
"prepare": "npm run build",
"test": "jest"
},
"keywords": [
"accumulator",
"batch",
"chunk",
"array-chunk",
"fixed-chunks",
"equal-length-chunks",
"equal-length-batches",
"accumulate",
"batched-items",
"batched-elements",
"chunked-items",
"chunked-elements",
"fixed-batch",
"fixed-size",
"accumulated-items",
"batch-management",
"stream-items",
"data-stream",
"runtime-streaming",
"delayed-execution",
"status-getters",
"nodejs",
"node-js",
"typescript",
"ts",
"ES2020"
],
"engines": {
"node": ">=14.5.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"prettier": "^3.5.3",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.2",
"typescript": "^5.5.2"
},
"types": "./dist/batched-items-accumulator.d.ts",
"main": "./dist/batched-items-accumulator.js",
"files": [
"src/",
"dist/",
"README.md",
"LICENSE"
]
}