storage-gcp
npm i storage-gcp

storage-gcp

📬 A unified file storage library for storage in cloud or on premise

by datatorch

0.7.2 (see all)License:MITTypeScript:Built-In
npm i storage-gcp
Readme

Storage Google Cloud Platform

This package exports an implementation of Storage that allows using google cloud platform storage buckets as a generic storage unit.

Usage

import { GoogleCloudStorage, GoogleCloudStorageOptions } from 'storage-gcp'

const options: GoogleCloudStorageOptions = {
  // ...
}
const storage = new GoogleCloudStorage(options)

Optional: Register component with StorageFactory.

import { getStorageFactory } from 'storage-core'
import { GoogleCloudStorage } from 'storage-gcp'

getStorageFactory().register('google-cloud', GoogleCloudStorage)

//...

const options: GoogleCloudStorageOptions = {
  // ...
}
const storage = getStorageFactory().create({ type: 'google-cloud', ...options })

Downloads/wk

14

GitHub Stars

29

LAST COMMIT

2yrs ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

1

OPEN PRs

13
VersionTagPublished
0.7.2
latest
2yrs ago
No alternatives found
No tutorials found
Add a tutorial