Socket
Book a DemoInstallSign in
Socket

jsreport-azure-storage

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsreport-azure-storage

jsreport extension adding support for storing blobs in azure storage

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
2
Created
Source

jsreport-azure-storage

NPM Version Build Status

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:

  • Set just connectionString
  • Set accountName and accountKey
  • 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
{
	"blobStorage": {  
		"provider": "azure-storage"
	},
	"extensions": {
		"azure-storage": {
			"accountName": "...",
			"accountKey": "...",
			"container": "..."
		}
	}
}
  • Pass options directly when using jsreport-core manually
var jsreport = require('jsreport-core')({ blobStorage: { provider: 'azure-storage' } })
jsreport.use(require('jsreport-azure-storage')({}))

Keywords

jsreport

FAQs

Package last updated on 24 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts