object-to-gcp-bucket
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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

/object-to-gcp-bucket/

    Package Sidebar

    Install

    npm i object-to-gcp-bucket

    Weekly Downloads

    0

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    6.05 kB

    Total Files

    7

    Last publish

    Collaborators

    • achneoder