3.0.2 • Published 2 months ago

@kodepandai/flydrive-gcs v3.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

flydrive is a framework-agnostic package which provides a powerful wrapper to manage file Storage in Node.js.

This package is the driver for Google Cloud Storage.


Getting Started

This package is available in the npm registry. It can easily be installed with npm or yarn.

$ npm i @kodepandai/flydrive-gcs
# or
$ yarn add @kodepandai/flydrive-gcs
const { GoogleCloudStorage } = require('@kodepandai/flydrive-gcs');
const { StorageManager } = require('@kodepandai/flydrive');
const storage = new StorageManager({
  // ...

  gcs: {
    driver: 'gcs',
    config: {
      keyFilename: process.env.GCS_KEYFILENAME,
      bucket: process.env.GCS_BUCKET,
    },
  },
});

storage.registerDriver('gcs', GoogleCloudStorage);
3.0.2

2 months ago

3.0.1

5 months ago

3.0.0-next.1

9 months ago

3.0.0-next.4

5 months ago

3.0.0

5 months ago

3.0.0-next

11 months ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.1.0

2 years ago

1.0.4

2 years ago