@reliverse/relifso 1.0.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.
Files changed (95) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +283 -0
  3. package/bin/d.ts.txt +1000 -0
  4. package/bin/impl/args-impl.d.ts +0 -0
  5. package/bin/impl/args-impl.js +0 -0
  6. package/bin/impl/array-polyfill.d.ts +15 -0
  7. package/bin/impl/external/path-is-inside.d.ts +1 -0
  8. package/bin/impl/external/path-is-inside.js +16 -0
  9. package/bin/impl/external/vacuum.d.ts +26 -0
  10. package/bin/impl/external/vacuum.js +95 -0
  11. package/bin/impl/fs/dive.d.ts +8 -0
  12. package/bin/impl/fs/dive.js +91 -0
  13. package/bin/impl/fs/exists.d.ts +31 -0
  14. package/bin/impl/fs/exists.js +10 -0
  15. package/bin/impl/fs/for-each-child.d.ts +34 -0
  16. package/bin/impl/fs/for-each-child.js +37 -0
  17. package/bin/impl/fs/index.d.ts +1118 -0
  18. package/bin/impl/fs/index.js +66 -0
  19. package/bin/impl/fs/is-directory.d.ts +14 -0
  20. package/bin/impl/fs/is-directory.js +16 -0
  21. package/bin/impl/fs/map-children.d.ts +17 -0
  22. package/bin/impl/fs/map-children.js +31 -0
  23. package/bin/impl/fs/map-structure.d.ts +35 -0
  24. package/bin/impl/fs/map-structure.js +44 -0
  25. package/bin/impl/fs/read-lines.d.ts +16 -0
  26. package/bin/impl/fs/read-lines.js +32 -0
  27. package/bin/impl/fs/read-text.d.ts +13 -0
  28. package/bin/impl/fs/read-text.js +10 -0
  29. package/bin/impl/fs/universalify.d.ts +18 -0
  30. package/bin/impl/fs/universalify.js +38 -0
  31. package/bin/impl/fs/write-file.d.ts +93 -0
  32. package/bin/impl/fs/write-file.js +47 -0
  33. package/bin/impl/helpers.d.ts +1 -0
  34. package/bin/impl/helpers.js +37 -0
  35. package/bin/impl/json.d.ts +16 -0
  36. package/bin/impl/json.js +90 -0
  37. package/bin/impl/lib/copy/copy-sync.d.ts +25 -0
  38. package/bin/impl/lib/copy/copy-sync.js +119 -0
  39. package/bin/impl/lib/copy/copy.d.ts +7 -0
  40. package/bin/impl/lib/copy/copy.js +144 -0
  41. package/bin/impl/lib/copy/index.d.ts +5 -0
  42. package/bin/impl/lib/copy/index.js +2 -0
  43. package/bin/impl/lib/empty/index.d.ts +1 -0
  44. package/bin/impl/lib/empty/index.js +29 -0
  45. package/bin/impl/lib/ensure/file.d.ts +2 -0
  46. package/bin/impl/lib/ensure/file.js +56 -0
  47. package/bin/impl/lib/ensure/index.d.ts +8 -0
  48. package/bin/impl/lib/ensure/index.js +12 -0
  49. package/bin/impl/lib/ensure/link.d.ts +2 -0
  50. package/bin/impl/lib/ensure/link.js +53 -0
  51. package/bin/impl/lib/ensure/symlink-paths.d.ts +5 -0
  52. package/bin/impl/lib/ensure/symlink-paths.js +63 -0
  53. package/bin/impl/lib/ensure/symlink-type.d.ts +2 -0
  54. package/bin/impl/lib/ensure/symlink-type.js +23 -0
  55. package/bin/impl/lib/ensure/symlink.d.ts +2 -0
  56. package/bin/impl/lib/ensure/symlink.js +59 -0
  57. package/bin/impl/lib/fs/index.d.ts +1 -0
  58. package/bin/impl/lib/fs/index.js +1 -0
  59. package/bin/impl/lib/index.d.ts +15 -0
  60. package/bin/impl/lib/index.js +34 -0
  61. package/bin/impl/lib/index_rollup.d.ts +10 -0
  62. package/bin/impl/lib/index_rollup.js +10 -0
  63. package/bin/impl/lib/json/index.d.ts +3 -0
  64. package/bin/impl/lib/json/index.js +10 -0
  65. package/bin/impl/lib/json/output-json-sync.d.ts +1 -0
  66. package/bin/impl/lib/json/output-json-sync.js +6 -0
  67. package/bin/impl/lib/json/output-json.d.ts +1 -0
  68. package/bin/impl/lib/json/output-json.js +6 -0
  69. package/bin/impl/lib/mkdirs/index.d.ts +1 -0
  70. package/bin/impl/lib/mkdirs/index.js +4 -0
  71. package/bin/impl/lib/mkdirs/make-dir.d.ts +2 -0
  72. package/bin/impl/lib/mkdirs/make-dir.js +21 -0
  73. package/bin/impl/lib/mkdirs/utils.d.ts +1 -0
  74. package/bin/impl/lib/mkdirs/utils.js +13 -0
  75. package/bin/impl/lib/move/index.d.ts +30 -0
  76. package/bin/impl/lib/move/index.js +2 -0
  77. package/bin/impl/lib/move/move-sync.d.ts +8 -0
  78. package/bin/impl/lib/move/move-sync.js +51 -0
  79. package/bin/impl/lib/move/move.d.ts +6 -0
  80. package/bin/impl/lib/move/move.js +48 -0
  81. package/bin/impl/lib/output-file/index.d.ts +1 -0
  82. package/bin/impl/lib/output-file/index.js +24 -0
  83. package/bin/impl/lib/remove/index.d.ts +53 -0
  84. package/bin/impl/lib/remove/index.js +8 -0
  85. package/bin/impl/lib/util/stat.d.ts +39 -0
  86. package/bin/impl/lib/util/stat.js +140 -0
  87. package/bin/impl/lib/util/utimes.d.ts +7 -0
  88. package/bin/impl/lib/util/utimes.js +31 -0
  89. package/bin/impl/subindex.d.ts +37 -0
  90. package/bin/impl/subindex.js +59 -0
  91. package/bin/main.d.ts +2 -0
  92. package/bin/main.js +2 -0
  93. package/bin/types.d.ts +100 -0
  94. package/bin/types.js +1 -0
  95. package/package.json +108 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ # MIT License
2
+
3
+ Copyright (c) 2025 blefnk Nazar Kornienko, Reliverse, Bleverse
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,283 @@
1
+ # Reliverse Relifso
2
+
3
+ [💖 GitHub Sponsors](https://github.com/sponsors/blefnk) • [📦 NPM](https://npmjs.com/package/@reliverse/relifso) • [✨ Repo](https://github.com/reliverse/relifso) • [💬 Discord](https://discord.gg/Pb8uKbwpsJ)
4
+
5
+ > **@reliverse/relifso** is a modern filesystem toolkit for builders. Drop-in replacement for `node:fs` and `fs-extra` — powered by native promises, built with ES modules, and packed with Bun-specific features and DX-focused utilities.
6
+
7
+ - 🪄 Everything you love from `fs-extra` — now simpler, cleaner, and more beginner-friendly
8
+ - ⚙️ Drop-in replacement for `node:fs` — with native `Promise`, `async/await`, and sync variants
9
+ - 🤝 Forget about `try-catch` for common errors like “file not found” — relifso does it under the hood
10
+ - 🧯 Gracefully handles errors like `EMFILE` (reading or writing a lot of files at once) and other edge cases
11
+ - 📚 Consistent error-first behavior — even for legacy APIs like `fs.exists()`
12
+ - 📦 First-class ESM and full TypeScript support — no config hacks required
13
+ - 🧼 Zero bloat — minimal deps, modern code, no monkey-patching
14
+ - 🎯 Supports all Node.js v16+ features — optimized for Node.js v22+
15
+ - 🧪 **Soon**: Ready for upcoming Node.js v22+ experimental features
16
+ - ✌️ **Soon**: Bun v1.2+ ready — ships with Bun-aware enhancements out of the box
17
+ - 🔥 **Soon**: Bun-specific features are exposed via `fs.*` when running on Bun
18
+ - ✂️ **Soon**: We plan to divide Relifso into smaller packages like `-legacy`, `-bun`, `-cjs`, etc.
19
+
20
+ ## Install
21
+
22
+ ```bash
23
+ bun add @reliverse/relifso
24
+ # bun • pnpm • yarn • npm
25
+ ```
26
+
27
+ ## Usage
28
+
29
+ Check [./example/e-main.ts](./example/e-main.ts) for a full example. You can clone this repo and run via `bun dev`.
30
+
31
+ Relifso works just like `fs-extra` — every method is promise-first, ergonomic, and future-ready.
32
+
33
+ ```ts
34
+ import { copy, pathExists, remove } from "@reliverse/relifso";
35
+
36
+ await copy("src/index.ts", "dist/index.ts");
37
+
38
+ if (await pathExists("dist/index.ts")) {
39
+ await remove("dist/index.ts");
40
+ }
41
+ ```
42
+
43
+ - ✨ Everything’s bundled — modern, async, and type-safe.
44
+ - 🧼 No more boilerplate like `promisify(fs.removeSync)` or using `mkdirp`, `ncp`, or `rimraf`.
45
+ - 🌱 No more weird `try/catch` for common errors like “file not found.”
46
+ - ✌️ Just clean, predictable APIs built for 2025 and beyond.
47
+
48
+ ## Example
49
+
50
+ ```ts
51
+ import {
52
+ ensureDir,
53
+ outputJson,
54
+ readJson,
55
+ remove,
56
+ } from "@reliverse/relifso";
57
+
58
+ const path = "./.reliverse/config.json";
59
+
60
+ await ensureDir(".reliverse");
61
+ await outputJson(path, { hello: "world" });
62
+
63
+ const config = await readJson(path);
64
+ console.log(config); // { hello: 'world' }
65
+
66
+ await remove(".reliverse");
67
+ ```
68
+
69
+ ## Sync vs Async vs Legacy
70
+
71
+ You choose your flavor:
72
+
73
+ ```ts
74
+ // Async/Await
75
+ await copy("a.txt", "b.txt");
76
+
77
+ // Sync
78
+ copySync("a.txt", "b.txt");
79
+
80
+ // Callback (legacy-style)
81
+ copy("a.txt", "b.txt", err => {
82
+ if (err) console.error(err);
83
+ });
84
+ ```
85
+
86
+ All async methods return a `Promise` if no callback is passed.
87
+
88
+ ## Fully Typed, Fully Modern
89
+
90
+ - Written in modern ESM
91
+ - Minimal dependencies
92
+ - Full TypeScript declarations
93
+ - Compatible with Node.js 16+, best with 22+
94
+ - Async methods are built from the sync versions — no wrappers, no bloat
95
+
96
+ ## What’s Inside?
97
+
98
+ - All async methods follow the `Promise` pattern by default.
99
+ - All sync methods are safe and throw errors when needed.
100
+
101
+ ### Async (recommended)
102
+
103
+ #### Common Async Methods
104
+
105
+ - [access](https://uwx-node-modules.github.io/fsxt/functions/access.html)
106
+ - [appendFile](https://uwx-node-modules.github.io/fsxt/functions/appendFile.html)
107
+ - [copy](https://uwx-node-modules.github.io/fsxt/functions/copy.html)
108
+ - [copyFile](https://uwx-node-modules.github.io/fsxt/functions/copyFile.html)
109
+ - [cp](https://uwx-node-modules.github.io/fsxt/functions/cp.html)
110
+ - [createReadStream](https://uwx-node-modules.github.io/fsxt/functions/createReadStream.html)
111
+ - [createWriteStream](https://uwx-node-modules.github.io/fsxt/functions/createWriteStream.html)
112
+ - [ensureFile](https://uwx-node-modules.github.io/fsxt/functions/ensureFile.html)
113
+ - [exists](https://uwx-node-modules.github.io/fsxt/functions/exists.html)
114
+ - [mkdir](https://uwx-node-modules.github.io/fsxt/functions/mkdir.html)
115
+ - [mkdirs](https://uwx-node-modules.github.io/fsxt/functions/mkdirs.html)
116
+ - [move](https://uwx-node-modules.github.io/fsxt/functions/move.html)
117
+ - [open](https://uwx-node-modules.github.io/fsxt/functions/open.html)
118
+ - [outputFile](https://uwx-node-modules.github.io/fsxt/functions/outputFile.html)
119
+ - [outputJson](https://uwx-node-modules.github.io/fsxt/functions/outputJson.html)
120
+ - [read](https://uwx-node-modules.github.io/fsxt/functions/read.html)
121
+ - [readdir](https://uwx-node-modules.github.io/fsxt/functions/readdir.html)
122
+ - [readFile](https://uwx-node-modules.github.io/fsxt/functions/readFile.html)
123
+ - [readJson](https://uwx-node-modules.github.io/fsxt/functions/readJson.html)
124
+ - [readLines](https://uwx-node-modules.github.io/fsxt/functions/readLines.html)
125
+ - [readText](https://uwx-node-modules.github.io/fsxt/functions/readText.html)
126
+ - [rename](https://uwx-node-modules.github.io/fsxt/functions/rename.html)
127
+ - [rm](https://uwx-node-modules.github.io/fsxt/functions/rm.html)
128
+ - [rmdir](https://uwx-node-modules.github.io/fsxt/functions/rmdir.html)
129
+ - [stat](https://uwx-node-modules.github.io/fsxt/functions/stat.html)
130
+ - [symlink](https://uwx-node-modules.github.io/fsxt/functions/symlink.html)
131
+ - [truncate](https://uwx-node-modules.github.io/fsxt/functions/truncate.html)
132
+ - [unlink](https://uwx-node-modules.github.io/fsxt/functions/unlink.html)
133
+ - [watch](https://uwx-node-modules.github.io/fsxt/functions/watch.html)
134
+ - [watchFile](https://uwx-node-modules.github.io/fsxt/functions/watchFile.html)
135
+ - [write](https://uwx-node-modules.github.io/fsxt/functions/write.html)
136
+ - [writeFile](https://uwx-node-modules.github.io/fsxt/functions/writeFile.html)
137
+ - [writeJson](https://uwx-node-modules.github.io/fsxt/functions/writeJson.html)
138
+
139
+ #### Less Commonly Used Async Methods
140
+
141
+ - [chmod](https://uwx-node-modules.github.io/fsxt/functions/chmod.html)
142
+ - [chown](https://uwx-node-modules.github.io/fsxt/functions/chown.html)
143
+ - [close](https://uwx-node-modules.github.io/fsxt/functions/close.html)
144
+ - [dive](https://uwx-node-modules.github.io/fsxt/functions/dive.html)
145
+ - [emptyDir](https://uwx-node-modules.github.io/fsxt/functions/emptyDir.html)
146
+ - [ensureLink](https://uwx-node-modules.github.io/fsxt/functions/ensureLink.html)
147
+ - [ensureSymlink](https://uwx-node-modules.github.io/fsxt/functions/ensureSymlink.html)
148
+ - [fchmod](https://uwx-node-modules.github.io/fsxt/functions/fchmod.html)
149
+ - [fchown](https://uwx-node-modules.github.io/fsxt/functions/fchown.html)
150
+ - [forEachChild](https://uwx-node-modules.github.io/fsxt/functions/forEachChild.html)
151
+ - [fstat](https://uwx-node-modules.github.io/fsxt/functions/fstat.html)
152
+ - [ftruncate](https://uwx-node-modules.github.io/fsxt/functions/ftruncate.html)
153
+ - [futimes](https://uwx-node-modules.github.io/fsxt/functions/futimes.html)
154
+ - [gracefulify](https://uwx-node-modules.github.io/fsxt/functions/gracefulify.html)
155
+ - [isDirectory](https://uwx-node-modules.github.io/fsxt/functions/isDirectory.html)
156
+ - [isSymlink](https://uwx-node-modules.github.io/fsxt/functions/isSymlink.html)
157
+ - [~~lchmod~~](https://uwx-node-modules.github.io/fsxt/functions/lchmod.html)
158
+ - [lchown](https://uwx-node-modules.github.io/fsxt/functions/lchown.html)
159
+ - [link](https://uwx-node-modules.github.io/fsxt/functions/link.html)
160
+ - [lstat](https://uwx-node-modules.github.io/fsxt/functions/lstat.html)
161
+ - [lutimes](https://uwx-node-modules.github.io/fsxt/functions/lutimes.html)
162
+ - [mapChildren](https://uwx-node-modules.github.io/fsxt/functions/mapChildren.html)
163
+ - [mapStructure](https://uwx-node-modules.github.io/fsxt/functions/mapStructure.html)
164
+ - [mapStructureOrdered](https://uwx-node-modules.github.io/fsxt/functions/mapStructureOrdered.html)
165
+ - [mkdtemp](https://uwx-node-modules.github.io/fsxt/functions/mkdtemp.html)
166
+ - [openAsBlob](https://uwx-node-modules.github.io/fsxt/functions/openAsBlob.html)
167
+ - [opendir](https://uwx-node-modules.github.io/fsxt/functions/opendir.html)
168
+ - [readv](https://uwx-node-modules.github.io/fsxt/functions/readv.html)
169
+ - [realpath](https://uwx-node-modules.github.io/fsxt/functions/realpath.html)
170
+ - [remove](https://uwx-node-modules.github.io/fsxt/functions/remove.html)
171
+ - [resolve](https://uwx-node-modules.github.io/fsxt/functions/resolve.html)
172
+ - [statfs](https://uwx-node-modules.github.io/fsxt/functions/statfs.html)
173
+ - [unwatchFile](https://uwx-node-modules.github.io/fsxt/functions/unwatchFile.html)
174
+ - [utimes](https://uwx-node-modules.github.io/fsxt/functions/utimes.html)
175
+ - [vacuum](https://uwx-node-modules.github.io/fsxt/functions/vacuum.html)
176
+ - [writev](https://uwx-node-modules.github.io/fsxt/functions/writev.html)
177
+
178
+ ### Sync
179
+
180
+ #### Common Sync Methods
181
+
182
+ - [accessSync](https://uwx-node-modules.github.io/fsxt/functions/accessSync.html)
183
+ - [appendFileSync](https://uwx-node-modules.github.io/fsxt/functions/appendFileSync.html)
184
+ - [copyFileSync](https://uwx-node-modules.github.io/fsxt/functions/copyFileSync.html)
185
+ - [copySync](https://uwx-node-modules.github.io/fsxt/functions/copySync.html)
186
+ - [cpSync](https://uwx-node-modules.github.io/fsxt/functions/cpSync.html)
187
+ - [existsSync](https://uwx-node-modules.github.io/fsxt/functions/existsSync.html)
188
+ - [mkdirSync](https://uwx-node-modules.github.io/fsxt/functions/mkdirSync.html)
189
+ - [mkdirsSync](https://uwx-node-modules.github.io/fsxt/functions/mkdirsSync.html)
190
+ - [moveSync](https://uwx-node-modules.github.io/fsxt/functions/moveSync.html)
191
+ - [openSync](https://uwx-node-modules.github.io/fsxt/functions/openSync.html)
192
+ - [outputFileSync](https://uwx-node-modules.github.io/fsxt/functions/outputFileSync.html)
193
+ - [outputJsonSync](https://uwx-node-modules.github.io/fsxt/functions/outputJsonSync.html)
194
+ - [readdirSync](https://uwx-node-modules.github.io/fsxt/functions/readdirSync.html)
195
+ - [readFileSync](https://uwx-node-modules.github.io/fsxt/functions/readFileSync.html)
196
+ - [readJsonSync](https://uwx-node-modules.github.io/fsxt/functions/readJsonSync.html)
197
+ - [readTextSync](https://uwx-node-modules.github.io/fsxt/functions/readTextSync.html)
198
+ - [renameSync](https://uwx-node-modules.github.io/fsxt/functions/renameSync.html)
199
+ - [rmSync](https://uwx-node-modules.github.io/fsxt/functions/rmSync.html)
200
+ - [rmdirSync](https://uwx-node-modules.github.io/fsxt/functions/rmdirSync.html)
201
+ - [statSync](https://uwx-node-modules.github.io/fsxt/functions/statSync.html)
202
+ - [symlinkSync](https://uwx-node-modules.github.io/fsxt/functions/symlinkSync.html)
203
+ - [truncateSync](https://uwx-node-modules.github.io/fsxt/functions/truncateSync.html)
204
+ - [unlinkSync](https://uwx-node-modules.github.io/fsxt/functions/unlinkSync.html)
205
+ - [writeFileSync](https://uwx-node-modules.github.io/fsxt/functions/writeFileSync.html)
206
+ - [writeJsonSync](https://uwx-node-modules.github.io/fsxt/functions/writeJsonSync.html)
207
+ - [writeSync](https://uwx-node-modules.github.io/fsxt/functions/writeSync.html)
208
+
209
+ #### Less Commonly Used Sync Methods
210
+
211
+ - [chmodSync](https://uwx-node-modules.github.io/fsxt/functions/chmodSync.html)
212
+ - [chownSync](https://uwx-node-modules.github.io/fsxt/functions/chownSync.html)
213
+ - [closeSync](https://uwx-node-modules.github.io/fsxt/functions/closeSync.html)
214
+ - [diveSync](https://uwx-node-modules.github.io/fsxt/functions/diveSync.html)
215
+ - [emptyDirSync](https://uwx-node-modules.github.io/fsxt/functions/emptyDirSync.html)
216
+ - [ensureFileSync](https://uwx-node-modules.github.io/fsxt/functions/ensureFileSync.html)
217
+ - [ensureLinkSync](https://uwx-node-modules.github.io/fsxt/functions/ensureLinkSync.html)
218
+ - [ensureSymlinkSync](https://uwx-node-modules.github.io/fsxt/functions/ensureSymlinkSync.html)
219
+ - [fchmodSync](https://uwx-node-modules.github.io/fsxt/functions/fchmodSync.html)
220
+ - [fchownSync](https://uwx-node-modules.github.io/fsxt/functions/fchownSync.html)
221
+ - [fdatasync](https://uwx-node-modules.github.io/fsxt/functions/fdatasync.html)
222
+ - [fdatasyncSync](https://uwx-node-modules.github.io/fsxt/functions/fdatasyncSync.html)
223
+ - [forEachChildSync](https://uwx-node-modules.github.io/fsxt/functions/forEachChildSync.html)
224
+ - [fstatSync](https://uwx-node-modules.github.io/fsxt/functions/fstatSync.html)
225
+ - [fsync](https://uwx-node-modules.github.io/fsxt/functions/fsync.html)
226
+ - [fsyncSync](https://uwx-node-modules.github.io/fsxt/functions/fsyncSync.html)
227
+ - [ftruncateSync](https://uwx-node-modules.github.io/fsxt/functions/ftruncateSync.html)
228
+ - [futimesSync](https://uwx-node-modules.github.io/fsxt/functions/futimesSync.html)
229
+ - [isDirectorySync](https://uwx-node-modules.github.io/fsxt/functions/isDirectorySync.html)
230
+ - [~~lchmodSync~~](https://uwx-node-modules.github.io/fsxt/functions/lchmodSync.html)
231
+ - [lchownSync](https://uwx-node-modules.github.io/fsxt/functions/lchownSync.html)
232
+ - [linkSync](https://uwx-node-modules.github.io/fsxt/functions/linkSync.html)
233
+ - [lstatSync](https://uwx-node-modules.github.io/fsxt/functions/lstatSync.html)
234
+ - [lutimesSync](https://uwx-node-modules.github.io/fsxt/functions/lutimesSync.html)
235
+ - [mkdirsSync](https://uwx-node-modules.github.io/fsxt/functions/mkdirsSync.html)
236
+ - [mkdtempSync](https://uwx-node-modules.github.io/fsxt/functions/mkdtempSync.html)
237
+ - [opendirSync](https://uwx-node-modules.github.io/fsxt/functions/opendirSync.html)
238
+ - [readLinesSync](https://uwx-node-modules.github.io/fsxt/functions/readLinesSync.html)
239
+ - [readlinkSync](https://uwx-node-modules.github.io/fsxt/functions/readlinkSync.html)
240
+ - [readSync](https://uwx-node-modules.github.io/fsxt/functions/readSync.html)
241
+ - [readvSync](https://uwx-node-modules.github.io/fsxt/functions/readvSync.html)
242
+ - [realpathSync](https://uwx-node-modules.github.io/fsxt/functions/realpathSync.html)
243
+ - [removeSync](https://uwx-node-modules.github.io/fsxt/functions/removeSync.html)
244
+ - [statfsSync](https://uwx-node-modules.github.io/fsxt/functions/statfsSync.html)
245
+ - [utimesSync](https://uwx-node-modules.github.io/fsxt/functions/utimesSync.html)
246
+ - [writevSync](https://uwx-node-modules.github.io/fsxt/functions/writevSync.html)
247
+
248
+ ## Contributing
249
+
250
+ ...
251
+
252
+ ## TODO
253
+
254
+ - [x] Create usage example in [./example/e-main.ts](./example/e-main.ts)
255
+ - [ ] Ensure [./example/e-main.ts](./example/e-main.ts) works 100% correctly
256
+ - [ ] Consider using [@reliverse/repath](https://github.com/reliverse/repath) instead of just `node:path`.
257
+ - [ ] Pass all `fs-extra` tests with Bun/Vitest (+ fix & improve them).
258
+ - [ ] Convert all jsdoc comments to TypeScript types.
259
+ - [ ] Fully improve all `fs-extra` codebase files.
260
+
261
+ ## Shoutouts
262
+
263
+ Relifso wouldn’t be so cool without these gems:
264
+
265
+ - [node:fs](https://nodejs.org/api/fs.html)+[node:path](https://nodejs.org/api/path.html) — origins
266
+ - [`fs-extra`](https://github.com/jprichardson/node-fs-extra) — classic, reliable
267
+ - [`fsxt`](https://github.com/uwx-node-modules/fsxt) — full fs-extra overhaul
268
+ - [`fs-lite`](https://github.com/baooab/node-fs-lite) — no-deps, fully-typed
269
+
270
+ ## Show Some Love
271
+
272
+ If `@reliverse/relifso` reduced the number of lines in your codebase:
273
+
274
+ - ⭐ [Star it on GitHub](https://github.com/reliverse/relifso)
275
+ - 💖 [Sponsor @blefnk](https://github.com/sponsors/blefnk)
276
+ - 🧙 Recommend it to your dev friends
277
+
278
+ ## License
279
+
280
+ Welcome to the Reliverse — we build tools that builders want.
281
+
282
+ MIT © 2025 [blefnk Nazar Kornienko](https://github.com/blefnk)
283
+ `