New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gcs-downloader

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gcs-downloader

Download all files from a Google Cloud Storage Bucket

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-gcs-downloader

A simple Node script to download every file in a Google Cloud Storage Bucket.

Install

npm install gcs-downloader

Usage

  1. Get a key.json file from Google and save it into the gcs-downloader directory.
  2. Set environment variables for PROJECT_ID and PROJECT_NAME. These can be set in a .env file, a sample of which is included as .env_sample.
  3. Run the script with npm start. All files in the specified bucket will be downloaded to the ./output directory. Downloads happen recursively, one by one, so this should only be used on your local machine for tasks like a quick one time backup.

FAQs

Package last updated on 21 Mar 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc