medusa-file-gcp
TypeScript icon, indicating that this package has built-in type declarations

1.3.4 • Public • Published

MEDUSA FILE GCP

  • This plugin is used to upload files to Google Cloud Storage using aws-sdk so it not limited to GCP.
  • The code is not complete because i am to lazy to do it. The code is based only have the function to upload files to GCP and does not inplemented other method like delete file,... Feel free to contribute to this repo.

Installation

npm install medusa-file-gcp
yarn add medusa-file-gcp

Usage

Required environment variables

process.env.S3_ENDPOINT="storage.googleapis.com"
process.env.S3_KEY="your-key"
process.env.S3_SECRET="your-secret"
process.env.S3_BUCKET="your-bucket"

Configuration

const plugins = [
  // ...
  {
    resolve: `medusa-file-gcp`,
  },
]

Package Sidebar

Install

npm i medusa-file-gcp

Weekly Downloads

7

Version

1.3.4

License

MIT

Unpacked Size

8.69 kB

Total Files

7

Last publish

Collaborators

  • haigiang0591