@platohq/nestjs-google-storage
v0.0.3
Published
Description
Downloads
3
Readme
@platohq/nestjs-google-storage
Description
How to install
npm install @platohq/nestjs-google-storage
or
yarn add @platohq/nestjs-google-storage
How to use
Register the module
import { GoogleStorageModule } from '@platohq/nestjs-google-storage';
@Module({
imports: [
GoogleStorageModule.register({
defaultBucketname: GOOGLE_STORAGE_BUCKET_HERE,
projectId: GOOGLE_PROJECT_ID_HERE,
keyFilename: GOOGLE_APPLICATION_CREDENTIALS_PATH_HERE,
})
],
})
export class AppModule {
}