spliterator 1.5.0
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/LICENSE.md +650 -0
- package/README.md +119 -0
- package/out/index.d.ts +21 -0
- package/out/index.d.ts.map +1 -0
- package/out/index.js +21 -0
- package/out/index.js.map +1 -0
- package/out/lib/AsyncSpliterator.d.ts +127 -0
- package/out/lib/AsyncSpliterator.d.ts.map +1 -0
- package/out/lib/AsyncSpliterator.js +332 -0
- package/out/lib/AsyncSpliterator.js.map +1 -0
- package/out/lib/BufferController.d.ts +62 -0
- package/out/lib/BufferController.d.ts.map +1 -0
- package/out/lib/BufferController.js +93 -0
- package/out/lib/BufferController.js.map +1 -0
- package/out/lib/CSVSpliterator.d.ts +104 -0
- package/out/lib/CSVSpliterator.d.ts.map +1 -0
- package/out/lib/CSVSpliterator.js +83 -0
- package/out/lib/CSVSpliterator.js.map +1 -0
- package/out/lib/CharacterSequence.d.ts +103 -0
- package/out/lib/CharacterSequence.d.ts.map +1 -0
- package/out/lib/CharacterSequence.js +184 -0
- package/out/lib/CharacterSequence.js.map +1 -0
- package/out/lib/CompositeDataView.d.ts +104 -0
- package/out/lib/CompositeDataView.d.ts.map +1 -0
- package/out/lib/CompositeDataView.js +242 -0
- package/out/lib/CompositeDataView.js.map +1 -0
- package/out/lib/DelimitedChunkReader.d.ts +67 -0
- package/out/lib/DelimitedChunkReader.d.ts.map +1 -0
- package/out/lib/DelimitedChunkReader.js +113 -0
- package/out/lib/DelimitedChunkReader.js.map +1 -0
- package/out/lib/DelimiterTransformer.d.ts +27 -0
- package/out/lib/DelimiterTransformer.d.ts.map +1 -0
- package/out/lib/DelimiterTransformer.js +26 -0
- package/out/lib/DelimiterTransformer.js.map +1 -0
- package/out/lib/IndexQueue.d.ts +48 -0
- package/out/lib/IndexQueue.d.ts.map +1 -0
- package/out/lib/IndexQueue.js +80 -0
- package/out/lib/IndexQueue.js.map +1 -0
- package/out/lib/JSONSpliterator.d.ts +19 -0
- package/out/lib/JSONSpliterator.d.ts.map +1 -0
- package/out/lib/JSONSpliterator.js +55 -0
- package/out/lib/JSONSpliterator.js.map +1 -0
- package/out/lib/SlidingWindow.d.ts +93 -0
- package/out/lib/SlidingWindow.d.ts.map +1 -0
- package/out/lib/SlidingWindow.js +176 -0
- package/out/lib/SlidingWindow.js.map +1 -0
- package/out/lib/Spliterator.d.ts +51 -0
- package/out/lib/Spliterator.d.ts.map +1 -0
- package/out/lib/Spliterator.js +238 -0
- package/out/lib/Spliterator.js.map +1 -0
- package/out/lib/TextSpliterator.d.ts +40 -0
- package/out/lib/TextSpliterator.d.ts.map +1 -0
- package/out/lib/TextSpliterator.js +56 -0
- package/out/lib/TextSpliterator.js.map +1 -0
- package/out/lib/casing.d.ts +28 -0
- package/out/lib/casing.d.ts.map +1 -0
- package/out/lib/casing.js +69 -0
- package/out/lib/casing.js.map +1 -0
- package/out/lib/node/fs.d.ts +98 -0
- package/out/lib/node/fs.d.ts.map +1 -0
- package/out/lib/node/fs.js +162 -0
- package/out/lib/node/fs.js.map +1 -0
- package/out/lib/shared.d.ts +167 -0
- package/out/lib/shared.d.ts.map +1 -0
- package/out/lib/shared.js +92 -0
- package/out/lib/shared.js.map +1 -0
- package/out/lib/take.d.ts +26 -0
- package/out/lib/take.d.ts.map +1 -0
- package/out/lib/take.js +71 -0
- package/out/lib/take.js.map +1 -0
- package/out/lib/writer.d.ts +34 -0
- package/out/lib/writer.d.ts.map +1 -0
- package/out/lib/writer.js +41 -0
- package/out/lib/writer.js.map +1 -0
- package/package.json +100 -0
package/package.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "spliterator",
|
|
3
|
+
"version": "1.5.0",
|
|
4
|
+
"description": "Line-delimited file utilities",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"csv",
|
|
7
|
+
"ndjson",
|
|
8
|
+
"jsonl",
|
|
9
|
+
"iterator",
|
|
10
|
+
"line-delimited",
|
|
11
|
+
"delimited"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/sister-software/ribbon",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/sister-software/ribbon/issues"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/sister-software/ribbon.git"
|
|
20
|
+
},
|
|
21
|
+
"license": "AGPL-3.0-only",
|
|
22
|
+
"contributors": [
|
|
23
|
+
{
|
|
24
|
+
"name": "Teffen Ellis",
|
|
25
|
+
"email": "teffen@sister.software"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"type": "module",
|
|
29
|
+
"exports": {
|
|
30
|
+
"./package.json": "./package.json",
|
|
31
|
+
".": "./out/index.js",
|
|
32
|
+
"./node/fs": "./out/lib/node/fs.js",
|
|
33
|
+
"./test/utils": "./out/test/utils.js"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"out/index.d.ts",
|
|
37
|
+
"out/index.d.ts.map",
|
|
38
|
+
"out/index.js.map",
|
|
39
|
+
"out/index.js",
|
|
40
|
+
"out/lib/**/*"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"demo": "node out/examples/simple-iteration.js",
|
|
44
|
+
"compile": "NODE_OPTIONS=\"--max-old-space-size=3000\" tsc -b",
|
|
45
|
+
"test": "vitest",
|
|
46
|
+
"lint": "run-s lint:prettier:check lint:eslint:check",
|
|
47
|
+
"lint:fix": "run-s lint:prettier:fix lint:eslint:fix",
|
|
48
|
+
"lint:prettier:check": "prettier --cache --check -u .",
|
|
49
|
+
"lint:prettier:fix": "prettier --cache --write -u .",
|
|
50
|
+
"lint:prettier": "eslint .",
|
|
51
|
+
"lint:eslint:check": "eslint .",
|
|
52
|
+
"lint:eslint:fix": "eslint --fix .",
|
|
53
|
+
"release": "release-it"
|
|
54
|
+
},
|
|
55
|
+
"prettier": "@sister.software/prettier-config",
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"change-case": "^5.4.4"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@sister.software/eslint-config": "7.1.3",
|
|
61
|
+
"@sister.software/prettier-config": "7.1.3",
|
|
62
|
+
"@sister.software/tsconfig": "7.1.3",
|
|
63
|
+
"@types/node": "^22.10.2",
|
|
64
|
+
"colorette": "^2.0.20",
|
|
65
|
+
"eslint": "^9.13.0",
|
|
66
|
+
"eslint-config-prettier": "^9.1.0",
|
|
67
|
+
"npm-run-all": "^4.1.5",
|
|
68
|
+
"path-ts": "^1.0.5",
|
|
69
|
+
"prettier": "^3.3.3",
|
|
70
|
+
"prettier-plugin-jsdoc": "^1.3.0",
|
|
71
|
+
"prettier-plugin-organize-imports": "^4.1.0",
|
|
72
|
+
"prettier-plugin-packagejson": "^2.5.3",
|
|
73
|
+
"release-it": "^17.10.0",
|
|
74
|
+
"type-fest": "^4.30.0",
|
|
75
|
+
"typescript": "^5.6.3",
|
|
76
|
+
"typescript-eslint": "^8.11.0",
|
|
77
|
+
"vitest": "2.1.8"
|
|
78
|
+
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"type-fest": "^4.30.0"
|
|
81
|
+
},
|
|
82
|
+
"peerDependenciesMeta": {
|
|
83
|
+
"type-fest": {
|
|
84
|
+
"optional": true
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"packageManager": "yarn@4.5.1",
|
|
88
|
+
"engines": {
|
|
89
|
+
"node": ">= 10.0.0"
|
|
90
|
+
},
|
|
91
|
+
"publishConfig": {
|
|
92
|
+
"access": "public",
|
|
93
|
+
"registry": "https://registry.npmjs.org"
|
|
94
|
+
},
|
|
95
|
+
"release-it": {
|
|
96
|
+
"npm": {
|
|
97
|
+
"publish": true
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|