{"library":"s3-deploy","title":"s3-deploy: AWS S3 & CloudFront Deployment Utility","description":"s3-deploy is a Node.js-based command-line utility designed for deploying files to Amazon S3 buckets and managing associated CloudFront cache invalidations. Currently at version 1.4.0, it appears to be actively maintained, indicated by the Greenkeeper badge, though a specific release cadence isn't published. Key differentiators include its robust handling of cache-control headers (including `max-age`, `immutable`, `no-cache`, and custom `Cache-Control`), automatic gzip compression for specified file types, and an option to prevent updates based on ETag matching. It's particularly useful for static site deployments where fine-grained caching and CDN invalidation are critical, providing a simplified bash-like interface over direct AWS SDK usage for common deployment tasks.","language":"javascript","status":"active","last_verified":"Sun Apr 19","install":{"commands":["npm install s3-deploy"],"cli":{"name":"s3-deploy","version":null}},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"s3-deploy './build/**' \\\n  --cwd './build/' \\\n  --region us-east-1 \\\n  --bucket my-static-website-bucket \\\n  --distId E123EXAMPLEABC \\\n  --invalidate '/*' \\\n  --gzip 'html,css,js,svg,json' \\\n  --cache 31536000 \\\n  --immutable \\\n  --preventUpdates\n","lang":"bash","description":"Deploys local build artifacts to S3, sets caching headers, gzips common file types, and invalidates CloudFront cache.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}