1.0.5 • Published 8 months ago

@deepkit/filesystem-google v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Deepkit Google Storage Storage adapter

import { Storage } from '@deepkit/filesystem';
import { StorageGoogleAdapter } from '@deepkit/filesystem-google';

const storage = new Storage(new StorageGoogleAdapter({
    bucket: 'my-bucket',
    path: 'my-path/',
    projectId: 'my-project-id',
    
    keyFilename: '/path/to/keyfile.json',
    //or
    credentials: {
        client_email: '...',
        private_key: '...',
    }
}));

const files = await storage.files();
await storage.write('test.txt', 'hello world');
1.0.1

9 months ago

1.0.1-alpha.158

10 months ago

1.0.1-alpha.156

10 months ago

1.0.5

8 months ago

1.0.3

9 months ago

1.0.1-alpha.154

1 year ago

1.0.1-alpha.147

2 years ago

1.0.1-alpha.145

2 years ago

1.0.1-alpha.143

2 years ago

1.0.1-alpha.124

2 years ago

1.0.1-alpha.123

2 years ago

1.0.1-alpha.121

2 years ago

1.0.1-alpha.114

2 years ago

1.0.1-alpha.113

2 years ago

1.0.1-alpha.112

2 years ago

1.0.1-alpha.108

2 years ago

1.0.1-alpha.107

2 years ago