0.1.3 • Published 4 years ago

object-to-gcp-bucket v0.1.3

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

#Object-to-GCP-Bucket This package is intended for use in GCP Cloud Functions to push a given JavaScript object to a defined bucket as a JSON file.

Installation

npm install object-to-gcp-bucket

Usage

await new StorageWriter().writeObject({ any: 'data' }, 'my-gcp-bucket', 'folder/to/my/file.json');

Test

npm run test