fs-concat
v3.0.3
Published
A CLI tool for concatenating multiple files into a single file.
Downloads
15
Readme
fs-concat
A CLI tool for concatenating multiple files into a single file.
Documentation
For detailed usage instructions and API references, please visit the official documentation:
Introduction
fs-concat is a lightweight command-line utility that allows you to merge multiple text files (e.g., .js, .css, .md) into a single output file. It supports specifying input and output paths via command-line arguments or configuration files, making it suitable for quick bundling, archiving, and similar tasks.
Usage
Basic Usage
npx fs-concat file1.js file2.js -o output.jsfile1.js file2.js: Source files to be merged.-o, --output <file>: Output file path after merging.
Using a Configuration File
npx fs-concat --config concat.config.jsonExample configuration file (concat.config.json):
{
"input": ["src/file1.js", "src/file2.js"],
"output": "dist/output.js"
}Contributing
We welcome contributions from the community! If you find a bug or want to suggest an improvement, feel free to open an issue or submit a pull request.
How to Contribute
- Fork the repository.
- Create a new branch for your changes.
- Submit a pull request with a clear description of your changes.
License
This project is licensed under the MIT License.

