Socket
Socket
Sign inDemoInstall

head-blaster

Package Overview
Dependencies
7
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    head-blaster

Alter millions of S3 objects with as much parallelization as you want


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Install size
108 MB
Created
Weekly downloads
 

Readme

Source

head-blaster

A programmatic way to alter many s3 objects in many buckets in parallel

Usage:

node list-objects.js --buckets=some-bucket-name,other-bucket > objects.list
node head-blaster.js --file=objects.list --concurrency=3 --operation=./operations/fix-cache-headers.js > output.log

where objects.list is a file like:

bucket-name:key/path
bucket-name:key/path
...

In between listing and modifying is a good time to trim down the list if you only want to affect objects with a certain key prefix or something.

Make new npm modules as needed for different operations, see examples in operations/*.js.

FAQs

Last updated on 12 Apr 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc