s3-tile-purger

0.1.2 • Public • Published

s3-tile-purger

Given appropriate credentials, I purge S3 buckets containing map tiles according to various criteria.

Tile Purging

To remove PNG tiles at z15+:

foreman run -- node purge.js -z 15 -e png

To remove UTFGrids from a labels layer:

foreman run -- node purge.js -s labels -e json

To remove tiles older than 30 days:

foreman run -- node purge.js -a 2592000

Environment Variables

  • AWS_ACCESS_KEY_ID - AWS access key id.
  • AWS_SECRET_ACCESS_KEY - AWS secret access key.
  • S3_BUCKET - S3 bucket to use.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    1
  • 0.1.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i s3-tile-purger

Weekly Downloads

3

Version

0.1.2

License

MIT

Last publish

Collaborators

  • mojodna