Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-azure-storage

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-azure-storage

Gulp plugin to download and upload files to/from the Azure blob storage

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.1K
decreased by-19.01%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-azure-storage

Gulp plugin to download and upload files to/from the Azure blob storage.

Installation

npm install gulp-azure-storage

Usage

Upload

There's a script included with the module that allows you to upload some files to an azure container:

$ ./node_modules/.bin/upload-to-azure \
  --account ACCOUNT_NAME \
  --key ACCOUNT_KEY \
  --container CONTAINER_NAME \
  file1.txt \
  file2.txt

You can also provide a relative folder to upload every file in that folder structure, instead of every file, one by one:

$ ./node_modules/.bin/upload-to-azure \
  --account ACCOUNT_NAME \
  --key ACCOUNT_KEY \
  --container CONTAINER_NAME \
  folder

Download

Simply use it as a gulp source stream:

var gulp = require('gulp');
var azure = require('gulp-azure-storage');

gulp.task(['default'], function() {
  return azure({
  	account:    ACCOUNT_NAME,
  	key:        ACCOUNT_KEY,
  	container:  CONTAINER_NAME
  }).pipe(gulp.dest('out'));
});

Options

Mandatory:

  • account
  • key
  • container

Optional:

  • prefix - blob name prefix
  • quiet - shhh
  • buffer - boolean for whether to buffer the blobs or stream them

Keywords

FAQs

Package last updated on 12 Dec 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc