https://github.com/jsreport/jsreport-azure-storage
jsreport extension adding support for storing blobs in azure storage
https://github.com/jsreport/jsreport-azure-storage
Last synced: 8 months ago
JSON representation
jsreport extension adding support for storing blobs in azure storage
- Host: GitHub
- URL: https://github.com/jsreport/jsreport-azure-storage
- Owner: jsreport
- Created: 2015-12-01T18:22:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T16:37:15.000Z (almost 5 years ago)
- Last Synced: 2025-09-07T14:43:46.100Z (9 months ago)
- Language: JavaScript
- Homepage: https://jsreport.net
- Size: 190 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**⚠️ This repository has been moved to the monorepo [jsreport/jsreport](https://github.com/jsreport/jsreport)**
--
# jsreport-azure-storage
[](https://npmjs.com/package/jsreport-azure-storage)
[](https://travis-ci.org/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-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-core')({ blobStorage: { provider: 'azure-storage' } })
jsreport.use(require('jsreport-azure-storage')({}))
```