1.0.0 • Published 10 years ago
split-utf8-file v1.0.0
split-utf8-file
Splits utf8 encoded file into smaller files of fixed size
Use case: Cut minified JS file into smaller files, so they can be analyzed within code editors.
That cannot be addressed reliably by Linux's split as it
doesn't respect UTF8 encoding.
Installation
$ npm install -g split-utf8-fileUsage
split-utf8-file filename.jsOptions
pieceSize- Size of file piece (default: 100k)destPath- Destination directory path (default: same as of input file)
Tests 
$ npm test1.0.0
10 years ago