UNPKG

splittext

Version:

Split large text files into smaller chunks.

14 lines (11 loc) 392 B
Simple 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.