1.1.0 • Published 3 years ago

@samwen/gcp-utils v1.1.0

Weekly downloads
172
License
ISC
Repository
github
Last release
3 years ago

gcp-utils

It collects util functions: file_exists, upload_file, download_file, delete_file and publish_to_topic.

how to install

npm install @samwen/gcp-utils

how to use

Step 1) create a service account key file from google console and save as serviceAccount.json

Step 2) prepare config.js as following:

Step 3) code sample: