🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@thi.ng/file-io

Package Overview
Dependencies
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/file-io

Assorted file I/O utils (with logging support) for NodeJS/Bun

2.1.36
latest
Source
npm
Version published
Weekly downloads
74
-76.36%
Maintainers
1
Weekly downloads
 
Created
Source

@thi.ng/file-io

npm version npm downloads Mastodon Follow

[!NOTE] This is one of 206 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! ❤️

About

Assorted file I/O utils (with logging support) for NodeJS/Bun.

Most functions in this package have optional support for the ILogger logging interface.

Status

STABLE - used in production

Search or submit any issues for this package

Installation

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

Dependencies

Note: @thi.ng/api is in most cases a type-only import (not used at runtime)

Usage examples

One project in this repo's /examples directory is using this package:

ScreenshotDescriptionLive demoSource
CLI util to visualize umbrella pkg statsSource

API

Generated API docs

TODO

Authors

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
}

License

© 2022 - 2025 Karsten Schmidt // Apache License 2.0

Keywords

async

FAQs

Package last updated on 30 Apr 2025

Did you know?

Socket

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.

Install

Related posts