pvorb

pvorb/node-read-files

Asynchronously reads an array of files and returns their contents

JavaScript
4
1
MIT License

The **node‑read‑files** module adds a convenient static method `fs.readFiles` to Node’s built‑in `fs` module, allowing you to load many files in parallel. It accepts an array of file paths, optional encoding and batch size, and asynchronously returns an object mapping each filename to its contents—ideal for scripts or applications that need to bulk‑read files without writing repetitive boiler‑plate code.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

pvorb's profile
pvorb
3 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet