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;
- Host: GitHub
- URL: https://github.com/bgdsh/file-split-merge
- Owner: bgdsh
- Created: 2017-02-12T05:16:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-13T14:41:37.000Z (over 8 years ago)
- Last Synced: 2024-11-30T21:43:00.364Z (6 months ago)
- Topics: file-merge, file-split, javascript, node, npm
- Language: JavaScript
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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