This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@chunkd/source-aws-v3
TypeScript icon, indicating that this package has built-in type declarations

10.1.3 • Public • Published

@chunkd/source-aws-v3

Load a chunks of a file from a AWS SDK v3 aws-sdk/client-s3

Usage

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

import { S3Client } from '@aws-sdk/clients-s3';

const s3 = new S3Client()
const source = new SourceAwsS3('bucket', 'path/to/cog.tif', new S3LikeV3(s3)));

// Load the first 1KB
await source.fetchBytes(0, 1024);
import { fsa } from '@chunkd/fs';
import { FsAwsS3V3 } from '@chunkd/source-aws-v3';

fsa.register('s3://', new FsAwsS3V3());

Readme

Keywords

none

Package Sidebar

Install

npm i @chunkd/source-aws-v3

Weekly Downloads

47

Version

10.1.3

License

MIT

Unpacked Size

134 kB

Total Files

22

Last publish

Collaborators

  • blacha