Skip to content

1kemalozturk/fastify-gcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fastify-gcs

Install

npm install --save 1kemalozturk/fastify-gcs

Usage

Import "fastify-gcs" and register it into Fastify instance

fastify.register(require('@1kemalozturk/fastify-gcs'), {
  projectId: '',    // [string, required] GCP project id
  keyFilename: ''   // [string, optional] path to service account json file 
})

you can access the Cloud Storage client via:

const cloudStorage = fastify.googleCloudStorage

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published