An open API service indexing awesome lists of open source software.

https://github.com/bgdsh/file-split-merge

split a large file to small pieces; merge small pieces to a large file;
https://github.com/bgdsh/file-split-merge

file-merge file-split javascript node npm

Last synced: 6 months ago
JSON representation

split a large file to small pieces; merge small pieces to a large file;

Awesome Lists containing this project

README

        

# file-split-merge
## how to use
install `npm install file-split-merge --save`

```javascript
const fileSplitMerge = require('file-split-merge');

fileSplitMerge.split('/Users/mn/Desktop/zipfile.zip', 100).then(console.log);
fileSplitMerge.merge(
[ '/Users/mn/Desktop/zipfile.zip_0',
'/Users/mn/Desktop/zipfile.zip_1',
'/Users/mn/Desktop/zipfile.zip_2' ],
'/Users/mn/Desktop/zipfile-new.zip'
).then(console.log)
```

## TODO
* write down the test code