Socket
Socket
Sign inDemoInstall

@ms-cloudpack/remote-cache

Package Overview
Dependencies
45
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ms-cloudpack/remote-cache

Manages syncing the local Cloudpack cached assets to/from a remote storage service.


Version published
Weekly downloads
433
increased by134.05%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

@ms-cloudpack/remote-cache

This package is a wrapper around the Azure Storage SDK that provides a simple interface for uploading and downloading files and folders to and from Azure Blob Storage. It also includes a helper function for generating a SAS token for a storage account.

Usage

import { createRemoteCacheClient } from '@ms-cloudpack/remote-cache';

const client = await createRemoteCacheClient({
  storageAccount: 'my-storage-account',
  container: 'my-container',
  permissions: { read: true, write: false },
});

await client.downloadFolder('my-folder', 'download-it-to-this-path');

FAQs

Last updated on 25 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc