@thi.ng/file-io 2.2.28 → 2.2.29
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 +17 -16
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/file-io)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Available functions](#available-functions)
|
|
@@ -32,7 +33,7 @@
|
|
|
32
33
|
Assorted file I/O utils (w/ logging support) for NodeJS/Bun.
|
|
33
34
|
|
|
34
35
|
Most functions in this package have optional support for the
|
|
35
|
-
[`ILogger`](https://
|
|
36
|
+
[`ILogger`](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/logger)
|
|
36
37
|
logging interface.
|
|
37
38
|
|
|
38
39
|
## Available functions
|
|
@@ -85,7 +86,7 @@ logging interface.
|
|
|
85
86
|
|
|
86
87
|
**STABLE** - used in production
|
|
87
88
|
|
|
88
|
-
[Search or submit any issues for this package](https://
|
|
89
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bfile-io%5D)
|
|
89
90
|
|
|
90
91
|
## Installation
|
|
91
92
|
|
|
@@ -109,23 +110,23 @@ Package sizes (brotli'd, pre-treeshake): ESM: 2.44 KB
|
|
|
109
110
|
|
|
110
111
|
## Dependencies
|
|
111
112
|
|
|
112
|
-
- [@thi.ng/api](https://
|
|
113
|
-
- [@thi.ng/checks](https://
|
|
114
|
-
- [@thi.ng/hex](https://
|
|
115
|
-
- [@thi.ng/logger](https://
|
|
116
|
-
- [@thi.ng/random](https://
|
|
113
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
114
|
+
- [@thi.ng/checks](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/checks)
|
|
115
|
+
- [@thi.ng/hex](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/hex)
|
|
116
|
+
- [@thi.ng/logger](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/logger)
|
|
117
|
+
- [@thi.ng/random](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/random)
|
|
117
118
|
|
|
118
119
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
119
120
|
|
|
120
121
|
## Usage examples
|
|
121
122
|
|
|
122
123
|
One project in this repo's
|
|
123
|
-
[/examples](https://
|
|
124
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
124
125
|
directory is using this package:
|
|
125
126
|
|
|
126
|
-
| Screenshot | Description | Live demo | Source
|
|
127
|
-
|
|
128
|
-
| <img src="https://
|
|
127
|
+
| Screenshot | Description | Live demo | Source |
|
|
128
|
+
|:---------------------------------------------------------------------------------------------------------------------|:-----------------------------------------|:----------|:-----------------------------------------------------------------------------------------|
|
|
129
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/package-stats.png" width="240"/> | CLI util to visualize umbrella pkg stats | | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/package-stats) |
|
|
129
130
|
|
|
130
131
|
## API
|
|
131
132
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/file-io",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.29",
|
|
4
4
|
"description": "Assorted file I/O utils (w/ logging support) for NodeJS/Bun",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/file-io"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/file-io",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/checks": "^3.8.
|
|
45
|
-
"@thi.ng/hex": "^2.4.
|
|
46
|
-
"@thi.ng/logger": "^3.3.
|
|
47
|
-
"@thi.ng/random": "^4.1.
|
|
43
|
+
"@thi.ng/api": "^8.12.18",
|
|
44
|
+
"@thi.ng/checks": "^3.8.8",
|
|
45
|
+
"@thi.ng/hex": "^2.4.10",
|
|
46
|
+
"@thi.ng/logger": "^3.3.1",
|
|
47
|
+
"@thi.ng/random": "^4.1.43"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/node": "^24.10.9",
|
|
@@ -135,5 +135,5 @@
|
|
|
135
135
|
"status": "stable",
|
|
136
136
|
"year": 2022
|
|
137
137
|
},
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
139
139
|
}
|