Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
A lightweight server clone of Azure Blob Storage that simulates most of the commands supported by it with minimal dependencies.
Azurite is an open-source Azure Storage API compatible server (emulator). It provides a local environment for testing and development of applications that use Azure Storage services, including Blob, Queue, and Table storage.
Blob Storage
This code snippet demonstrates how to start the Azurite Blob service on port 10000. Blob storage is used for storing large amounts of unstructured data such as text or binary data.
const azurite = require('azurite');
azurite().blob().listen(10000, () => {
console.log('Azurite Blob service is running on port 10000');
});
Queue Storage
This code snippet demonstrates how to start the Azurite Queue service on port 10001. Queue storage is used for storing large numbers of messages that can be accessed from anywhere via authenticated calls.
const azurite = require('azurite');
azurite().queue().listen(10001, () => {
console.log('Azurite Queue service is running on port 10001');
});
Table Storage
This code snippet demonstrates how to start the Azurite Table service on port 10002. Table storage is used for storing structured NoSQL data.
const azurite = require('azurite');
azurite().table().listen(10002, () => {
console.log('Azurite Table service is running on port 10002');
});
LocalStack is a fully functional local AWS cloud stack. It provides a local testing environment for AWS services, including S3, DynamoDB, and SQS. Unlike Azurite, which focuses on Azure Storage services, LocalStack emulates a wide range of AWS services.
MinIO is a high-performance, S3-compatible object storage system. It is designed to be used for large-scale data infrastructure. While Azurite emulates Azure Blob storage, MinIO provides an alternative for S3-compatible object storage.
Fake S3 is a lightweight server that emulates the S3 API. It is useful for testing S3 interactions locally. Unlike Azurite, which emulates Azure Storage services, Fake S3 focuses solely on the S3 API.
A lightweight server clone of Azure Blob Storage that simulates most of the commands supported by it with minimal dependencies.
Standard Emulator Connection String: DefaultEndpointsProtocol=http;AccountName=devstoreaccount1; AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==; BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1; TableEndpoint=http://127.0.0.1:10002/devstoreaccount1; QueueEndpoint=http://127.0.0.1:10001/devstoreaccount1;
https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/blob-service-rest-api
https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/blob-service-error-codes
Lists all of the containers in a storage account. Markers are not supported yet.
Sets the properties of the Blob service, including logging and metrics settings, and the default service version.
Gets the properties of the Blob service, including logging and metrics settings, and the default service version.
Queries the Cross-Origin Resource Sharing (CORS) rules for the Blob service prior to sending the actual request.
Retrieves statistics related to replication for the Blob service. This operation is only available on the secondary location endpoint when read-access geo-redundant replication is enabled for the storage account.
Creates a new container in a storage account.
Returns all user-defined metadata and system properties of a container.
Returns only user-defined metadata of a container.
Sets user-defined metadata of a container.
Gets the public access policy and any stored access policies for the container.
Sets the public access policy and any stored access policies for the container.
Establishes and manages a lock on a container for delete operations.
Deletes the container and any blobs that it contains.
Lists all of the blobs in a container.
Creates a new blob or replaces an existing blob within a container.
Reads or downloads a blob from the Blob service, including its user-defined metadata and system properties.
Returns all system properties and user-defined metadata on the blob.
Sets system properties defined for an existing blob.
Retrieves all user-defined metadata of an existing blob or snapshot.
Sets user-defined metadata of an existing blob.
Marks a blob for deletion.
Establishes and manages a lock on write and delete operations. To delete or write to a locked blob, a client must provide the lease ID.
Creates a read-only snapshot of a blob.
Copies a source blob to a destination blob in this storage account or in another storage account.
Aborts a pending Copy Blob operation, and leaves a destination blob with zero length and full metadata.
Block blobs only Creates a new block to be committed as part of a block blob.
Block blobs only Commits a blob by specifying the set of block IDs that comprise the block blob.
Block blobs only Retrieves the list of blocks that have been uploaded as part of a block blob.
Page blobs only Writes a range of pages into a page blob.
Page blobs only Returns a list of valid page ranges for a page blob or a snapshot of a page blob.
Append blobs only
FAQs
An open source Azure Storage API compatible server
The npm package azurite receives a total of 444,241 weekly downloads. As such, azurite popularity was classified as popular.
We found that azurite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.