@kodepandai/flydrive-gcs
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.1 • Public • Published

    flydrive

    Download Version License

    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);

    Install

    npm i @kodepandai/flydrive-gcs

    DownloadsWeekly Downloads

    5

    Version

    2.1.1

    License

    MIT

    Unpacked Size

    9.58 kB

    Total Files

    6

    Last publish

    Collaborators

    • axmad386