Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@slynova/flydrive-gcs

Slynova-Org3.7kMIT1.0.3TypeScript support: included

Google Cloud Storage driver for @slynova/flydrive

storage, filesystem, file, promise, async, google, cloud, flydrive

readme

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 @slynova/flydrive-gcs
# or
$ yarn add @slynova/flydrive-gcs
const { GoogleCloudStorage } = require('@slynova/flydrive-gcs');
const { StorageManager } = require('@slynova/flydrive');
const storage = new StorageManager({
  // ...

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

storage.registerDriver('gcs', GoogleCloudStorage);

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.3 (2020-09-04)

Note: Version bump only for package @slynova/flydrive-gcs

1.0.2 (2020-07-07)

Bug Fixes

  • storage: replace Readable with NodeJS.ReadableStream (#150) (5a54acf)

1.0.1 (2020-06-17)

Note: Version bump only for package @slynova/flydrive-gcs