1.0.0 • Published 4 years ago

gcs-blob-store v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

gcs-blob-store

A blob store backend for Google Cloud Storage

Pretty much just a thin wrapper around @google-cloud/storage

blob-store-compatible

Usage

const { gcs } = require("gcs-blob-store");
// Use a service account credentials object
const credentials = require("./credentials.json");
const bucket = "my-gcs-bucket";
const blobs1 = gcs({ bucket, credentials });
// Or specify an absolute path to a service account key file
const keyFilename = "/home/user/.config/keyfile.json"
const blobs2 = gcs({ bucket, keyFilename });

License

MIT