1.1.2 • Published 2 years ago

@pozible/image-processor v1.1.2

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

@pozible/image-processor

Listening to new objects added to GCS and properly resize images based on given dimensions if needed.

This package is specifically prepared to be deployed on GCF using Pub/Sub triggers. It works hand in hand with @pozible/signed-upload to prepare the metadata and upload the file to GCS bucket.

Usage

Write index.js as follows:

exports.service = require('@pozible/image-processor').default;

Then deploy with:

gcloud beta functions deploy image-processor --entry-point=service --source . --memory=256MB --trigger-bucket <bucket-name> --runtime nodejs10
1.1.1

2 years ago

1.1.0

2 years ago

1.1.2

2 years ago

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago