This package has been deprecated

Author message:

This module is no longer maintained. It is provided as is.

s3prefixed

0.1.1 • Public • Published

s3prefixed

S3 reading operations in prefixed buckets

Motivation

For best possible performance during heavy PUT loads, we sometimes prefix our S3 keys. This makes reading from the bucket a little more challenging if you're looking for a specific file.

Examples

$ s3prefixed ls s3://my-bucket/{prefix}/some/key/
$ s3prefixed cp s3://my-bucket/{prefix}/some/key/tile.vector.pbf
$ s3prefixed cp s3://my-bucket/{prefix}/some/key/tile.vector.pbf /somewhere/some.file
 
# Sorry but you can't copy into a prefixed bucket. This will fail: 
$ s3prefixed cp /somewhere/some.file s3://my-bucket/{prefix}/some/key/tile.vector.pbf
Error: Must specify an s3 url

Dependents (0)

Package Sidebar

Install

npm i s3prefixed

Weekly Downloads

1

Version

0.1.1

License

ISC

Last publish

Collaborators

  • mapbox-admin