sindresorhus

read-chunk

Read a chunk from a file

by sindresorhus

JavaScript

JavaScript92.9%
TypeScript7.1%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
brightchip

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

brightchip · 1y ago
bjornstar

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 👍

bjornstar · 2y ago
Structured data for AI agents

Repository: sindresorhus/read-chunk. Description: Read a chunk from a file Stars: 126, 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: 1mo ago. Community health: 85%. Top contributors: sindresorhus, bjornstar, BendingBender, raphinesse, fstoerkle, kevva, firecow, Richienb, rob-gijsens, Toilal.