file-fragment-split
v1.0.1
Published
NPM Package that will split file into multiple fragments
Downloads
19
Readme
What is this?
NPM Package that will split file into multiple fragments
Installation
npm i file-fragment-split --save
Then...
import {fileSplitter} from file-fragment-split
Use case
return fileSplitter(file, 3)
Options
File Splitter have 2 arguments, which the second one is optional :
- file - File type that will be splitted
- fragment_size - Fragment size that the file wished to be splitted in MB(Defaults to 3 MB)
