Gathering detailed insights and metrics for @chunkd/source-http
Gathering detailed insights and metrics for @chunkd/source-http
Gathering detailed insights and metrics for @chunkd/source-http
Gathering detailed insights and metrics for @chunkd/source-http
Chunked file reading abstraction for S3, HTTP and files
npm install @chunkd/source-http
Typescript
Module System
Min. Node Version
Node Version
NPM Version
fs-aws: v11.4.0
Updated on Jul 17, 2025
fs: v11.3.0
Updated on Jul 17, 2025
fs-aws: v11.3.0
Updated on Nov 04, 2024
source-aws: v11.0.4
Updated on Nov 04, 2024
fs-aws: v11.2.2
Updated on Feb 20, 2024
middleware: v11.1.0
Updated on Feb 20, 2024
TypeScript (93.98%)
JavaScript (6.02%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
4 Stars
290 Commits
1 Forks
1 Watchers
14 Branches
3 Contributors
Updated on Jul 17, 2025
Latest Version
11.1.0
Package Id
@chunkd/source-http@11.1.0
Unpacked Size
20.72 kB
Size
5.45 kB
File Count
10
NPM Version
lerna/7.2.0/node@v18.18.2+x64 (linux)
Node Version
18.18.2
Published on
Nov 08, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
1
Load a chunks of a file from a HTTP(s) Source using fetch
1import { SourceHttp } from '@chunkd/source-http'; 2 3const source = new SourceHttp(new URL('https://example.com/cog.tif')); 4 5const firstBuffer = await source.fetchBytes(0, 1024); // Load the first 1KB from the source 6const lastBuffer = await source.fetchBytes(-1024); // load the last 1KB from the source 7 8const size = source.metadata?.size; // File size if metadata has been fetched
for relative urls, use document.baseURI
1const source = new SourceHttp(new URL('../cog.tif', document.baseURI));
For caching, block alignment and fetch grouping see @chunkd/middleware and @chunkd/fs
Node.js <18 does not come with a default fetch
function, a fetch
method must be provided before being able to be used.
1import { SourceHttp } from '@chunkd/source-http'; 2import { fetch } from 'node-fetch'; 3 4SourceHttp.fetch = fetch;
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/20 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
11 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More