Skip to content

Latest commit

 

History

History

source-aws

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

@chunkd/source-aws

Load chunks of data from s3 using @aws-sdk/client-s3

Usage

import { SourceAwsS3 } from '@chunkd/source-aws';

const source = new SourceAwsS3(new URL('s3://linz-imagery/catalog.json'));

// Read in the first 1KB of data
const bytes = await source.fetch(0, 1024);

Advanced Usage

For caching, block alignment and fetch grouping see @chunkd/middleware and @chunkd/fs