GitShow/sindresorhus/read-chunk
sindresorhus

read-chunk

Read a chunk from a file

by sindresorhus
Star on GitHubForknpm

JavaScript

125 stars9 forks10 contributorsQuiet · 2y agoSince 2014v5.0.0MIT

Meet the team

See all 10 on GitHub →
sindresorhus
sindresorhus30 contributions
bjornstar
bjornstar3 contributions
BendingBender
BendingBender2 contributions
raphinesse
raphinesse2 contributions
fstoerkle
fstoerkle1 contribution
kevva
kevva1 contribution
firecow
firecow1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript92.9%
TypeScript7.1%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent fixes

View closed PRs →
brightchip
Is the size same as file statSync sizeClosedIssue

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 · 9mo ago
bjornstar
breaking: drop pify dependency and make node v16 the minimum versionMergedPR

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
bjornstar
BREAKING: Goodbye, node.js BufferMergedPR

I think it's a noble quest to migrate away from the old Buffer class. Mind if I help out?

bjornstar · 2y ago
Structured data for AI agents

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.

·@ofershap

Replace github.com with gitshow.dev