Thanks to visit codestin.com
Credit goes to officialskills.sh

Back to skills

azure-storage-file-share-ts

SDK for managing Azure File Share resources over SMB using TypeScript or JavaScript.

Setup & Installation

npx skills add https://github.com/microsoft/skills --skill azure-storage-file-share-ts
or paste the link and ask your coding assistant to install it
https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-typescript/skills/azure-storage-file-share-ts
View on GitHub

What This Skill Does

SDK for managing Azure File Share resources over SMB using TypeScript or JavaScript. Covers share and directory lifecycle, file upload and download, range operations, metadata, snapshots, and SAS token generation. Works with connection strings, shared key credentials, or DefaultAzureCredential.

The SDK handles authentication, chunked streaming, and retry logic automatically, replacing manual REST calls that require HMAC signing and multipart range management.

When to use it

  • Uploading log files from a Node.js service into an Azure file share
  • Listing and browsing directory contents in a mounted SMB share
  • Generating time-limited SAS URLs for secure file access
  • Taking share snapshots before running batch file transformations
  • Copying files between directories within the same storage account