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

0.11.32 • 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');

/@ms-cloudpack/remote-cache/

    Package Sidebar

    Install

    npm i @ms-cloudpack/remote-cache

    Weekly Downloads

    525

    Version

    0.11.32

    License

    MIT

    Unpacked Size

    4.65 MB

    Total Files

    60

    Last publish

    Collaborators

    • dzearing
    • ecraig12345_msft