@ms-cloudpack/remote-cache
TypeScript icon, indicating that this package has built-in type declarations

0.7.5 • Public • Published

@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');

Readme

Keywords

none

Package Sidebar

Install

npm i @ms-cloudpack/remote-cache

Weekly Downloads

400

Version

0.7.5

License

MIT

Unpacked Size

5.21 MB

Total Files

40

Last publish

Collaborators

  • ecraig12345_msft
  • uifabricteam
  • dzearing