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

cloudsync

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudsync

Sync files to cloud storage services

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
1
-93.75%
Maintainers
1
Weekly downloads
 
Created
Source

Sync files to Cloud Storage

Install

npm install -g cloudsync

Usage

$ cloudsync <config json file>
$
$ Options:
$
$   -f, --force-upload      Upload all files
$   -i, --incremental-mode  Only upload new/changed file

NOTE: Currently only support Aliyun(OSS) and AWS(S3) at this time.

Configuration file

create the .cloudsync.json file in your current working directory.

{
  "aliyun-oss": {
    "source": "target-files-path",
    "dest": "cloud-storage-path",
    "accessKeyId": "aliyun-oss-key-id",
    "secretAccessKey": "aliyun-oss-access-key",
    "endpoint": "http://oss-cn-beijing.aliyuncs.com",
    "bucket": "bucket-name"
  },
  "aws-s3": {
    "source": "target-files-path",
    "dest": "cloud-storage-path",
    "accessKeyId": "aws-s3-key-id",
    "secretAccessKey": "aws-s3-access-key",
    "region": "us-west-2",
    "cacheControl": "max-age:3600",
    "bucket": "bucket-name"
  }
}

Keywords

aliyun

FAQs

Package last updated on 01 Feb 2016

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