Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@thi.ng/file-io
Advanced tools
[!NOTE] This is one of 200 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 - 2025 Karsten Schmidt // Apache License 2.0
FAQs
Assorted file I/O utils (with logging support) for NodeJS/Bun
We found that @thi.ng/file-io demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.