@thi.ng/file-io 2.1.7 → 2.1.8
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/CHANGELOG.md +1 -1
- package/README.md +14 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 198 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
- [Status](#status)
|
|
19
19
|
- [Installation](#installation)
|
|
20
20
|
- [Dependencies](#dependencies)
|
|
21
|
+
- [Usage examples](#usage-examples)
|
|
21
22
|
- [API](#api)
|
|
22
23
|
- [Authors](#authors)
|
|
23
24
|
- [License](#license)
|
|
@@ -64,6 +65,18 @@ Package sizes (brotli'd, pre-treeshake): ESM: 2.05 KB
|
|
|
64
65
|
- [@thi.ng/logger](https://github.com/thi-ng/umbrella/tree/develop/packages/logger)
|
|
65
66
|
- [@thi.ng/random](https://github.com/thi-ng/umbrella/tree/develop/packages/random)
|
|
66
67
|
|
|
68
|
+
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
69
|
+
|
|
70
|
+
## Usage examples
|
|
71
|
+
|
|
72
|
+
One project in this repo's
|
|
73
|
+
[/examples](https://github.com/thi-ng/umbrella/tree/develop/examples)
|
|
74
|
+
directory is using this package:
|
|
75
|
+
|
|
76
|
+
| Screenshot | Description | Live demo | Source |
|
|
77
|
+
|:---------------------------------------------------------------------------------------------------------------------|:-----------------------------------------|:----------|:---------------------------------------------------------------------------------|
|
|
78
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/package-stats.png" width="240"/> | CLI util to visualize umbrella pkg stats | | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/package-stats) |
|
|
79
|
+
|
|
67
80
|
## API
|
|
68
81
|
|
|
69
82
|
[Generated API docs](https://docs.thi.ng/umbrella/file-io/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/file-io",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"description": "Assorted file I/O utils (with logging support) for NodeJS/Bun",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.11.
|
|
40
|
-
"@thi.ng/checks": "^3.6.
|
|
41
|
-
"@thi.ng/hex": "^2.3.
|
|
42
|
-
"@thi.ng/logger": "^3.0.
|
|
43
|
-
"@thi.ng/random": "^
|
|
39
|
+
"@thi.ng/api": "^8.11.7",
|
|
40
|
+
"@thi.ng/checks": "^3.6.9",
|
|
41
|
+
"@thi.ng/hex": "^2.3.51",
|
|
42
|
+
"@thi.ng/logger": "^3.0.17",
|
|
43
|
+
"@thi.ng/random": "^4.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-extractor": "^7.47.0",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"status": "stable",
|
|
124
124
|
"year": 2022
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "324d6b7dbf31558329e9fb6452e29b2f7db9c61a\n"
|
|
127
127
|
}
|