@cogeotiff/source-awsdeprecated

Deprecated: this module has moved to @chunkd/source-aws

Usage no npm install needed!

<script type="module">
  import cogeotiffSourceAws from 'https://cdn.skypack.dev/@cogeotiff/source-aws';
</script>

README

@cogeotiff/source-aws

Deprecated: this module has moved to @chunkd/source-aws

Load a chunks of a file from a AWS using aws-sdk

Usage

import { SourceAwsS3 } from '@cogeotiff/source-aws';
import S3 from 'aws-sdk/clients/s3';

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

// Load the first 1KB
await source.fetchBytes(0, 1024);