jsreport-aws-s3-storage

1.1.0 • Public • Published

jsreport-aws-s3-storage

NPM Version Build Status

jsreport extension adding support for storing blobs in aws s3

Some of the jsreport extensions requires a blob storage for storing binary objects. This implementation stores these objects like output reports inside cost effective aws s3.

See the blob sorages general documentation https://jsreport.net/learn/blob-storages

See how to persist jsreport output reports https://jsreport.net/learn/reports

Installation

npm install jsreport-aws-s3-storage

Configuration

Required options are:

  • accessKeyId
  • secretAccessKey
  • bucket

Optionally you can set

  • s3Options: azure blob storage container, this defaults to jsreport
{
	"blobStorage": {  
		"provider": "aws-s3-storage"
	},
	"extensions": {
		"aws-s3-storage": {
			"accessKeyId": "...",
			"secretAccessKey": "...",
			"bucket": "...",
			"s3Options": {...}
		}
	}
}

jsreport-core

var jsreport = require('jsreport-core')({ blobStorage: { provider: 'aws-s3-storage' } })
jsreport.use(require('jsreport-aws-s3-storage')({...}))

Readme

Keywords

Package Sidebar

Install

npm i jsreport-aws-s3-storage

Weekly Downloads

4

Version

1.1.0

License

none

Unpacked Size

4.76 kB

Total Files

7

Last publish

Collaborators

  • pofider