@thi.ng/file-io 2.0.0 → 2.0.2
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 +8 -2
- package/package.json +8 -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 192 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
|
>
|
|
@@ -42,10 +42,16 @@ logging interface.
|
|
|
42
42
|
yarn add @thi.ng/file-io
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
+
ESM import:
|
|
46
|
+
|
|
47
|
+
```ts
|
|
48
|
+
import * as fio from "@thi.ng/file-io";
|
|
49
|
+
```
|
|
50
|
+
|
|
45
51
|
For Node.js REPL:
|
|
46
52
|
|
|
47
53
|
```js
|
|
48
|
-
const
|
|
54
|
+
const fio = await import("@thi.ng/file-io");
|
|
49
55
|
```
|
|
50
56
|
|
|
51
57
|
Package sizes (brotli'd, pre-treeshake): ESM: 2.04 KB
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/file-io",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
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.
|
|
40
|
-
"@thi.ng/checks": "^3.
|
|
41
|
-
"@thi.ng/hex": "^2.3.
|
|
42
|
-
"@thi.ng/logger": "^3.0.
|
|
43
|
-
"@thi.ng/random": "^3.7.
|
|
39
|
+
"@thi.ng/api": "^8.10.1",
|
|
40
|
+
"@thi.ng/checks": "^3.6.1",
|
|
41
|
+
"@thi.ng/hex": "^2.3.43",
|
|
42
|
+
"@thi.ng/logger": "^3.0.9",
|
|
43
|
+
"@thi.ng/random": "^3.7.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-extractor": "^7.43.0",
|
|
@@ -120,8 +120,9 @@
|
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"thi.ng": {
|
|
123
|
+
"alias": "fio",
|
|
123
124
|
"status": "stable",
|
|
124
125
|
"year": 2022
|
|
125
126
|
},
|
|
126
|
-
"gitHead": "
|
|
127
|
+
"gitHead": "18a0c063a7b33d790e5bc2486c106f45f663ac28\n"
|
|
127
128
|
}
|