1.0.6 • Published 2 years ago

simple-file-concat v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

simple-file-concat

Small node package to combine multiple files into one.

Import into your project

const fc = require('simple-file-concat');

Documentation

fc(inputDirectory, outputFileName, config);
  • inputDirectory - required - the path to the directory contatining the files to be concatenated
  • outputFileName - required - the name of the file where the output will be stored, must include extension
  • config - optional
    • .ext - only accept files with this extention, by default all files will be concatenated
    • .outputDir - the directory to put the output file in, by default puts the output file in the input directory

Example

fc("./testFiles", "output.txt", {ext: "txt", outputDir: "./"});
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago