1.0.6 • Published 3 years ago

simple-file-concat v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
3 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

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago