Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

Latest commit

 

History

History

emeralt-storage-gcs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@emeralt/storage-gcs

Emeralt storage plugin to store package tarball in Google Cloud Storage

Install

Using npm:

npm install @emeralt/storage-gcs

or using yarn:

yarn add @emeralt/storage-gcs

Usage

new EmeraltStorageGCS(options)

Options

type Options = {
  // @google-cloud/storage options
  // https://www.npmjs.com/package/@google-cloud/storage
  storage: StorageOptions

  path: {
    // bucket to use
    // default: emeralt-test
    bucket: string

    // prefix (for example, my/dir/prefix)
    prefix?: string
  }
}