
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
azure-block-blob-storage
Advanced tools
Small module wrapper for the AWS sdk that allows you to easily use azure.
Small module wrapper for the AWS sdk that allows you to easily use azure.
npm install azure-block-blob-storage
var azure = require('azure-block-blob-storage')({
containerName: 'my-container'
connectionString: '...'
})
azure.put('hello', 'world', function () {
azure.get('hello', console.log)
})
Or if you want use the file system locally instead
var azure = require('azure-block-blob-storage')('my-bucket', {
type: 'fs' // will store the data in ./my-bucket
})
// azure has the same api
var azure = azurestorage(bucket, [options])
Make a new storage instance. Options include:
azure.put(key, value, [callback])
Write a new value.
azure.get(key, callback)
Read a value out
azure.del(key, [callback])
Delete a value
azure.createReadStream(key, options)
Create a readable stream to a key.
azure.createWriteStream(key, options)
Create a writeable stream to a key. Options include
{
length: sizeOfStream, // required
}
azure.rename(src, dest, [callback])
Rename a folder/file
azure.stat(key, callback)
Return stat info about a key. The returned object looks like this:
{
size: sizeOfValue,
modified: lastModifiedDate
}
var stream = azure.list([options])
Create a list stream. Each data emitted looks like this
{
key: 'value/key', // the value key
size: 24, // how many bytes
modified: Date() // when was it modified last?
}
Options include:
{
prefix: 'foo', // only list keys under foo
limit: 14 // only return this many
}
MIT
FAQs
Small module wrapper for the AWS sdk that allows you to easily use azure.
The npm package azure-block-blob-storage receives a total of 0 weekly downloads. As such, azure-block-blob-storage popularity was classified as not popular.
We found that azure-block-blob-storage 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.