New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

fast-up

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-up

Uploads compiled assets to Amazon S3

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

fast-up

Uploads compiled assets to Amazon S3

NPM version NPM downloads Dependency Status Greenkeeper badge

Install

$ npm install fast-up -g

Usage

$ up -h

Usage: up [options]

Options:
  -v, --version                output the version number
  -c, --config [config]        config file path (default: "up-config.js")
  -d, --dist [dist]            upload files glob patten (default: "./dist/**")
  -b, --bucket [bucket]        S3 bucket name
  -r, --region [region]        S3 region name
  -a, --accessKey [accessKey]  S3 client accessKey
  -s, --secretKey [secretKey]  S3 client secretKey
  --port [port]                S3 endpoint port
  --host [host]                S3 endpoint host
  --base [base]                base path for dist
  --prefix [prefix]            object path prefix
  -h, --help                   output usage information

$ up --region=qn:cn-east-1 --bucket=test --accessKey=$AK --secretKey=$SK

Config

Default config file is up-config.json or up-config.js

// up-config.js
module.exports = {
  region: 'qn:cn-east-1',
  bucket: 'bucketName',
  accessKey: process.env.ACCESS_KEY,
  secretKey: process.env.SECRET_KEY,
  before: [{
    task: 'copy',
    actions: [{
      src: 'lib/**',
      dest: 'dist',
      base: '.'
    }]
  }],
  after: [{
    task: 'delete',
    actions: [{
      src: 'dist/**'
    }]
  }]
};

Report a issue

License

fast-up is available under the terms of the MIT License.

Keywords

s3

FAQs

Package last updated on 11 May 2020

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