
Company News
Socket Joins the OpenJS Foundation
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.
@tus/azure-store
Advanced tools
@tus/azure-storeAzure Store based on the Append Blob Client Azure Blob AppendBlobClient.
In Node.js >=20.19.0, install with npm:
npm install @tus/azure-store
const {Server} = require('@tus/server')
const {AzureStore} = require('@tus/azure-store')
const server = new Server({
path: '/files',
datastore: new AzureStore({
account: process.env.AZURE_ACCOUNT_ID,
accountKey: process.env.AZURE_ACCOUNT_KEY,
containerName: process.env.AZURE_CONTAINER_NAME,
}),
})
// ...
This package exports AzureStore. There is no default export.
new AzureStore(options)Creates a new azure store with options.
options.accountAzure account ID (string).
options.accountKeyAzure account key (string).
options.containerNameAzure storage container name (string).
options.cacheProvide your own cache solution for the metadata of uploads (KvStore) to reduce the calls to storage server.
Default is (MemoryKvStore) which stores the data in memory.
The tus protocol supports optional extensions. Below is a table of the supported
extensions in @tus/azure-store. More will be added in the future releases.
| Extension | @tus/file-store |
|---|---|
| Creation | ✅ |
| Creation With Upload | ✅ |
| Expiration | ❌ |
| Checksum | ❌ |
| Termination | ❌ |
| Concatenation | ❌ |
This package is fully typed with TypeScript.
This package requires Node.js >=20.19.0.
See
contributing.md.
FAQs
Azure blob storage for @tus/server
The npm package @tus/azure-store receives a total of 226 weekly downloads. As such, @tus/azure-store popularity was classified as not popular.
We found that @tus/azure-store demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
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.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.