Split large text files into smaller chunks.
npm install splittextSimple program to split larger text files into smaller chunks.
To install:
npm install splittext
To use:
node --chunks 4 file.txt
Command line arguments:
--help, -h, /? Display help.
--input, -i, /i The input file.
--output-dir, -o, /o The output directory path.
--output-name, -n, /n Change the output file name.
--chunks, -c, /c Number of chunks to split the file into.