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

gulp-aws

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-aws

AWS CLI plugin for gulp

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gulp-aws

AWS CLI plugin for gulp.

Pros:
  • AWS CLI supports much more features (and has better performances) then available AWS node.js libraries
Cons:

Install

npm install gulp-aws --save-dev
Requirements

Features

  • Upload to S3

API

aws.s3(bucket, options)

Upload files to AWS S3.

  • bucket: AWS bucket name
Required options
  • aws_region: AWS region
  • aws_key: AWS access key
  • aws_secret: AWS access secret
Other options
  • aws_cli_path: The path of the AWS CLI. Defaults to /usr/local/bin/aws
Example

Create a tar.gz with the content of the 'src' directory and upload it to S3

var aws  = require('gulp-aws');
var tar  = require('gulp-tar');
var gzip = require('gulp-gzip');

gulp.task('my-task', function() {
    return gulp.src('src/**/*')
        .pipe(tar('mypackage.tar'))
        .pipe(gzip())
        .pipe(gulp.dest('./build'))
        .pipe(aws.s3('my-bucket-name', 'mypackage.tar.gz', {
            aws_region: 'eu-west-1',
            aws_key:    'your aws key kere',
            aws_secret: 'your aws secret here'
        }));
});

Keywords

FAQs

Package last updated on 02 Jul 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