open-index/open-npm huggingface dataset:
npm package: @jsreport/jsreport-aws-s3-storage
Description: jsreport extension adding support for storing blobs in aws s3 storage
Author: Jan Blaha
Latest version: 4.2.0

# @jsreport/jsreport-aws-s3-storage
[![NPM Version](http://img.shields.io/npm/v/@jsreport/jsreport-aws-s3-storage.svg?style=flat-square)](https://npmjs.com/package/@jsreport/jsreport-aws-s3-storage)

**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 storages general documentation
https://jsreport.net/learn/blob-storages

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


## Installation

> npm install @jsreport/jsreport-aws-s3-storage

## Configuration

Required options is:
- `bucket`

In case you want to use IAM role, don't pass accessKey and secretAccessKey.

Optionally you can set
- `s3Options`: azure blob storage container, this defaults to jsreport

```js
{
	"blobStorage": {
		"provider": "aws-s3-storage"
	},
	"extensions": {
		"aws-s3-storage": {
			"accessKeyId": "...",
			"secretAccessKey": "...",
			"bucket": "...",
			"s3Options": {...}
		}
	}
}
```

## jsreport-core
```js
var jsreport = require('@jsreport/jsreport-core')({ blobStorage: { provider: 'aws-s3-storage' } })
jsreport.use(require('@jsreport/jsreport-aws-s3-storage')({...}))
```

## Changelog

### 4.2.0
- minimum node.js version is now `22.18.0`

### 4.1.0

- update aws client

### 4.0.0

- minimum node.js version is now `18.15.0`

### 3.0.0-beta.1

Adaptations for the v3 APIs
npm package: @jsreport/jsreport-azure-storage
Description: jsreport extension adding support for storing blobs in azure storage
Author: Jan Blaha
Latest version: 4.2.0


# @jsreport/jsreport-azure-storage
[![NPM Version](http://img.shields.io/npm/v/@jsreport/jsreport-azure-storage.svg?style=flat-square)](https://npmjs.com/package/@jsreport/jsreport-azure-storage)

**jsreport extension adding support for storing blobs in azure storage**

Some of the jsreport extensions require a blob storage for storing binary objects. This implementation stores these objects like output reports inside cost-effective azure blob storage.

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

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

## Installation

> npm install @jsreport/jsreport-azure-storage

## Configuration

- `accountName`:  azure blob storage account name
- `accountKey`:  azure blob storage account key
- `connectionString`: azure blob storage connection string
- `container`: azure blob storage container, this defaults to jsreport

You have three options:
1. Set just `connectionString`
2. Set `accountName` and `accountKey`
3. Set only `accountName` and let storage connect using azure managed identity

You can pass the options into jsreport in the following ways:

- Through global `blobStorage` options
```js
{
	"blobStorage": {
		"provider": "azure-storage"
	},
	"extensions": {
		"azure-storage": {
			"accountName": "...",
			"accountKey": "...",
			"container": "..."
		}
	}
}
```

- Pass options directly when using jsreport-core manually
```js
var jsreport = require('@jsreport/jsreport-core')({ blobStorage: { provider: 'azure-storage' } })
jsreport.use(require('@jsreport/jsreport-azure-storage')({}))
```

## Changelog

### 4.2.0
- minimum node.js version is now `22.18.0`

### 4.1.0

- use new azure-storage sdk

### 4.0.0

- minimum node.js version is now `18.15.0`

### 3.0.1

- move some deps to dev deps

### 3.0.0-beta.1

Adaptations for the v3 APIs