Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@phading/gcs_client

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phading/gcs_client

ProductService

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
0
Created
Source

@selfage/gcs_client

Install

npm install @selfage/gcs_client

Overview

Written in TypeScript and compiled with @selfage/tsconfig. Provides a client library for a subset APIs of Google Cloud Storage (GCS).

Features

  • Single chunk upload.
  • Resumable upload, with resumable URL and byteOffset being tracked.

Test setup

The test is talking to a real GCP project and it's a local unit test.

Prepare for authentication: gcloud auth application-default login, or an environment already logged in, such as a Compute Engine.

Make sure the account has suffcient permissions to view/edit/delete objects.

Create a bucket to be used in the test, by setting the environment variable gcs_bucket=.

FAQs

Package last updated on 07 Oct 2024

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