1.0.1-alpha.154 • Published 8 months ago
@deepkit/filesystem-google v1.0.1-alpha.154
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-alpha.154
8 months ago
1.0.1-alpha.147
1 year ago
1.0.1-alpha.145
1 year ago
1.0.1-alpha.143
1 year ago
1.0.1-alpha.124
1 year ago
1.0.1-alpha.123
1 year ago
1.0.1-alpha.121
1 year ago
1.0.1-alpha.114
1 year ago
1.0.1-alpha.113
1 year ago
1.0.1-alpha.112
1 year ago
1.0.1-alpha.108
1 year ago
1.0.1-alpha.107
2 years ago