@pumink/zero-library
v0.0.1
Published
zero-lib recursively reads all files from all folders and subfolders in the project directory, collecting their contents into a single specially formatted .txt file. It processes all files regardless of extension.
Readme
zero-library
Description
zero-library recursively reads all files from all folders and subfolders in the project directory, collecting their contents into a single specially formatted .txt file. It processes all files regardless of extension.
Usage
- Run in the project root directory.
- Traverses all files and writes output to a single file.
- The output file is created as
output.txt.
Usage Code:
const {start} = require("@pumink/zero-library");
start() //then output.txt appearsOutput Format
filename.extension:
```extension
file_contentfilename.extension:
file_content
---
## Features
- Zero dependency, uses only Node.js built-in modules.
- Reads all files regardless of extension.
- Saves file content in original form.
- Supports deeply nested folder structures.
- Collects everything into a single `.txt` file.
---
## Contact
From discord, my username: **berklast**