容量の大きい .txt
や .csv
を高速に分割してくれます!(私調べですが、600MBのファイルを5秒で分割してくれます)
BunkatsuKun can split huge size .txt
or .csv
files as high speed!! (I measured. As a result, it could split about 600MB file at 5 seconds.)
まずは 分割したい行数を決めます。settings.ini
内の lineLimit
を変更ください。
First, determine the number of rows to be split by editing lineLimit
on settings.ini
.
CLI(例:Windowsならcmd.exe)上で下記を実行。
Please execute on CLI as follows.
node index.js sample.txt
フォルダに分割されたファイルが生成されます。
Split files are output as follows directory.
Bunkatsu-sample.txt
└─sample-1.txt
└─sample-2.txt
└─sample-3.txt
.
.
.
OS: Windows 10
Environment: Node.js since v12.10.0
Module:
since v4.2.4 graceful-fs
since v2.1.1 properties-reader
since v3.3.3 winston
since v4.5.0 winston-daily-rotate-file
@autor: KeitoDama
@e-mail: [email protected]
"BunkatsuKun" is under MIT license.