Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including easy-s3 with all npm packages installed. Try it out:

var easyS3 = require("easy-s3")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

easy-s3 v1.0.0

Easy folder syncing to S3

easy-s3

Easy folder syncing to S3

Version CircleCI Appveyor CI Codecov Downloads/week License

* [easy-s3](#easy-s-3) * [Usage](#usage) * [Commands](#commands)

Usage

```sh-session $ npm install -g easy-s3 $ easy-s3 COMMAND running command... $ easy-s3 (-v|--version|version) easy-s3/1.0.0 linux-x64 node-v10.6.0 $ easy-s3 --help [COMMAND] USAGE $ easy-s3 COMMAND ... ```

Commands

* [`easy-s3 help [COMMAND]`](#easy-s-3-help-command) * [`easy-s3 sync FROM TO`](#easy-s-3-sync-from-to)

easy-s3 help [COMMAND]

display help for easy-s3

USAGE
  $ easy-s3 help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

easy-s3 sync FROM TO

sync a folder to s3

USAGE
  $ easy-s3 sync FROM TO

ARGUMENTS
  FROM  The local or S3 folder to sync from.
  TO    The local or S3 folder to sync to.

OPTIONS
  -a, --acl=public-read|private    (required) [default: public-read] The access control list permissions to apply when
                                   syncing.

  -c, --profilesFile=profilesFile  (required) [default: /home/travis/.aws/credentials] AWS profiles file to be used.

  -h, --help                       show CLI help

  -m, --maxAge=maxAge              (required) [default: 86400] The maximum age to be applied to the `CacheControl`
                                   header for uploaded objects.

  -p, --profile=profile            (required) [default: default] AWS profile in the credentials file to be used.

  -r, --region=region              (required) [default: us-east-1] AWS region the S3 bucket is contained within.

EXAMPLE
  $ easy-s3 sync static s3://s3.myapp.com/static
  Uploading files...

See code: src/commands/sync.ts

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free