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.
azure-storage-node-promisify
Advanced tools
`azure-storage` is a wonderful and _cheap_ way to store objects and blobs. Be sure to check it out here: [https://azure.microsoft.com/en-us/services/storage/]. However, the current version of the [Azure Storage API for Node](https://github.com/Azure/azure
azure-storage
is a wonderful and cheap way to store objects and blobs. Be sure to check it out here: [https://azure.microsoft.com/en-us/services/storage/]. However, the current version of the Azure Storage API for Node. The entire API uses callbacks. Node.js APIs suffered the same issue, leading ot callback hell. The solution is to promisify the callback functions so that it is compatible with await / async syntax. Since Node.js 8.x, a new promisify
function has been introduced for the util
module.
npm install azure-storage-node-promisify
This library is Typescript friendly. It tries to preserve the parameter as much as possible.
import azure from 'azure-storage';
import { promisifyTableService } from 'azure-storage-node-promisify';
const connectionString = '...'; // you can use any of the Azure Storage Node SDK's auth methods
const tableService = promisifyTableService(azure.createTableService(connectionString));
(async () => {
await tableService.createTableIfNotExistsAsync('testTable');
// Welcome to the future of CHEAP storage and async / await syntax!
})();
FAQs
`azure-storage` is a wonderful and _cheap_ way to store objects and blobs. Be sure to check it out here: [https://azure.microsoft.com/en-us/services/storage/]. However, the current version of the [Azure Storage API for Node](https://github.com/Azure/azure
The npm package azure-storage-node-promisify receives a total of 0 weekly downloads. As such, azure-storage-node-promisify popularity was classified as not popular.
We found that azure-storage-node-promisify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.