Last 12 weeks · 0 commits
4 of 6 standards met
I tried to read chunk by chunk and upload to remote server. but the final one seems exceed the file size I'm using "read-chunk": "^3.2.0", because new version doesn't support require for which My project has to use it firstChunk result {"d":{"StartUpload":"5242880"}} uploading continue chunks 5242880 10485760 51387344 ... other chun result {"d":{"ContinueUpload":"47185920"}} finished uplading... 47185920 52428800 51387344
has been available for quite some time so we can use that and remove as a dependency. Since we added as a devDependency and it uses nullish coalescing we can only test on node v16 and higher. Might as well set that as the minimum version since that's what we can test. I'm done making changes to this library after this PR, it's ready for a major version bump and a release 👍
Repository: sindresorhus/read-chunk. Description: Read a chunk from a file Stars: 125, Forks: 9. Primary language: JavaScript. Languages: JavaScript (92.9%), TypeScript (7.1%). License: MIT. Latest release: v5.0.0 (2y ago). Open PRs: 0, open issues: 0. Last activity: 2y ago. Community health: 85%. Top contributors: sindresorhus, bjornstar, BendingBender, raphinesse, fstoerkle, kevva, firecow, Richienb, rob-gijsens, Toilal.