Nightingale Posing Mischievously

    @fabrix/generics-google-storage
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.0 • Public • Published

    generics-google-storage

    NPM version Build status Dependency Status [![Code Climate][codeclimate-image]][codeclimate-url]

    Generic Data Store for Google Cloud through Spool-generics.

    Looking for Spool-Generics?

    Install

    $ npm install --save @fabrix/generics-google-storage

    Configure

    // config/generics.ts
    import { GoogleStorageGeneric } from '@fabrix/generics-google-storage'
    export const generics = {
      // make the key google_storage, alternatively make the key data_store_provider to be the default data store provider in many spools
      google_storage: {
        adapter: GoogleStorageGeneric,
        config: {
          project_id: process.env.GLCOUD_PROJECT_ID,
          key_filename: process.env.GCLOUD_KEY_FILENAME, // NOTE: Must Be Fully Resolved Path
          bucket: process.env.GCLOUD_BUCKET,
          host: process.env.GCLOUD_HOST
        }
      }
    }

    Install

    npm i @fabrix/generics-google-storage

    Homepage

    fabrix.app

    DownloadsWeekly Downloads

    2

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    8.1 kB

    Total Files

    11

    Last publish

    Collaborators

    • scottbwyatt