Note
This is one of 199 standalone projects, maintained as part of the @thi.ng/umbrella monorepo and anti-framework.
🚀 Please help me to work full-time on these projects by sponsoring me on GitHub. Thank you! ❤️
Assorted file I/O utils (with logging support) for NodeJS/Bun.
Most functions in this package have optional support for the
ILogger
logging interface.
STABLE - used in production
Search or submit any issues for this package
yarn add @thi.ng/file-io
ESM import:
import * as fio from "@thi.ng/file-io";
For Node.js REPL:
const fio = await import("@thi.ng/file-io");
Package sizes (brotli'd, pre-treeshake): ESM: 2.05 KB
Note: @thi.ng/api is in most cases a type-only import (not used at runtime)
One project in this repo's /examples directory is using this package:
Screenshot | Description | Live demo | Source |
---|---|---|---|
CLI util to visualize umbrella pkg stats | Source |
TODO
If this project contributes to an academic publication, please cite it as:
@misc{thing-file-io,
title = "@thi.ng/file-io",
author = "Karsten Schmidt",
note = "https://thi.ng/file-io",
year = 2022
}
© 2022 - 2024 Karsten Schmidt // Apache License 2.0