{"_id":"6xs","_rev":"10-31c6db46be8ac85eb553af10baa67a55","name":"6xs","description":"Simple Storage Service Static Site Sync","dist-tags":{"latest":"0.5.0"},"versions":{"0.1.0":{"name":"6xs","version":"0.1.0","description":"Simple Storage Service Static Site Sync","author":{"name":"Jakub Elżbieciak","email":"jelz@post.pl","url":"https://elzbieciak.pl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jelz/6xs.git"},"scripts":{"lint":"jshint lib/*.js test/*.js test/*/*.js","hint":"npm run lint","test":"faucet test/unit/*.js","test-integration":"faucet test/integration/*.js","test-all":"npm run lint && npm test && npm run test-integration","clean":"rm -rf node_modules","coverage":"istanbul cover tape test/unit/*.js","coverage-codecov":"cat ./coverage/coverage.json | codecov"},"dependencies":{"async":"1.5.0","aws-sdk":"2.2.26","glob":"6.0.1","lodash":"3.10.1","mmmagic":"0.4.1"},"devDependencies":{"codecov.io":"0.1.6","faucet":"0.0.1","istanbul":"0.4.1","jshint":"2.8.0","proxyquire":"1.7.3","request":"2.67.0","sinon":"1.17.2","tape":"4.2.2"},"engines":{"node":">=4.2.3"},"gitHead":"a8a1367981e1085e93f9bb652bade88ee717a59d","bugs":{"url":"https://github.com/jelz/6xs/issues"},"homepage":"https://github.com/jelz/6xs#readme","_id":"6xs@0.1.0","_shasum":"2d543471f558259e4cb8776f268f4f933cfec878","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"jelz","email":"jelz@post.pl"},"dist":{"shasum":"2d543471f558259e4cb8776f268f4f933cfec878","tarball":"https://registry.npmjs.org/6xs/-/6xs-0.1.0.tgz","integrity":"sha512-gZABQ8ULvGvGNZ/ptBbHCGVtNot4vY0jI9pzfcBDDFKXaxITXXEVMkjHHzMcC8PZ2IsRGVnzbRcCM48Tvb4FIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3wd89N9ISDmcwWx1F744n5F9OKIs4FmpiwrVHgLSXbgIgCAy2KpooBWL/F8uwv0o+iZgQqR4XwiB49mOKdtjioS0="}]},"maintainers":[{"name":"jelz","email":"jelz@post.pl"}]},"0.1.1":{"name":"6xs","version":"0.1.1","description":"Simple Storage Service Static Site Sync","author":{"name":"Jakub Elżbieciak","email":"jelz@post.pl","url":"https://elzbieciak.pl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jelz/6xs.git"},"scripts":{"lint":"jshint lib/*.js test/*.js test/*/*.js","hint":"npm run lint","test":"faucet test/unit/*.js","test-integration":"faucet test/integration/*.js","test-all":"npm run lint && npm test && npm run test-integration","clean":"rm -rf node_modules","coverage":"istanbul cover tape test/unit/*.js","coverage-codecov":"cat ./coverage/coverage.json | codecov"},"dependencies":{"async":"1.5.0","aws-sdk":"2.2.26","glob":"6.0.1","lodash":"3.10.1","mmmagic":"0.4.1"},"devDependencies":{"codecov.io":"0.1.6","faucet":"0.0.1","istanbul":"0.4.1","jshint":"2.8.0","proxyquire":"1.7.3","request":"2.67.0","sinon":"1.17.2","tape":"4.2.2"},"engines":{"node":">=4.2.3"},"gitHead":"417a86e15ca2a17c2ff2d4ecfce7032a93cbeb7a","bugs":{"url":"https://github.com/jelz/6xs/issues"},"homepage":"https://github.com/jelz/6xs#readme","_id":"6xs@0.1.1","_shasum":"37b365df97161ecda2283c08437cdc0990d259af","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"jelz","email":"jelz@post.pl"},"dist":{"shasum":"37b365df97161ecda2283c08437cdc0990d259af","tarball":"https://registry.npmjs.org/6xs/-/6xs-0.1.1.tgz","integrity":"sha512-TnbkMyKiGDidYC0KTHS9y4KkQW2/azZH3LtHxMQswZlyBamjn68xtEaIjYr1q2spEbH/WpDFT98/f+IpE42g8Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB4QqM3VYwXADRXICelcuL916a0z656v8a5NcOcs6XPEAiEAmmpbLiecVE3kTMqYA4oAXB/JmV0bKccvJBOLDC0exVk="}]},"maintainers":[{"name":"jelz","email":"jelz@post.pl"}]},"0.1.2":{"name":"6xs","version":"0.1.2","description":"Simple Storage Service Static Site Sync","author":{"name":"Jakub Elżbieciak","email":"jelz@post.pl","url":"https://elzbieciak.pl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jelz/6xs.git"},"main":"lib/index.js","scripts":{"lint":"jshint lib/*.js test/*.js test/*/*.js","hint":"npm run lint","test":"faucet test/unit/*.js","test-integration":"faucet test/integration/*.js","test-all":"npm run lint && npm test && npm run test-integration","clean":"rm -rf node_modules","coverage":"istanbul cover tape test/unit/*.js","coverage-codecov":"cat ./coverage/coverage.json | codecov"},"dependencies":{"async":"1.5.0","aws-sdk":"2.2.26","glob":"6.0.1","lodash":"3.10.1","mmmagic":"0.4.1"},"devDependencies":{"codecov.io":"0.1.6","faucet":"0.0.1","istanbul":"0.4.1","jshint":"2.8.0","proxyquire":"1.7.3","request":"2.67.0","sinon":"1.17.2","tape":"4.2.2"},"engines":{"node":">=4.2.3"},"gitHead":"293db09fb68aee55edab5c52be8a3e4e7862e76b","bugs":{"url":"https://github.com/jelz/6xs/issues"},"homepage":"https://github.com/jelz/6xs#readme","_id":"6xs@0.1.2","_shasum":"289be6ca3a0dd1879b0bf26d2e628dcd79b138e6","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"jelz","email":"jelz@post.pl"},"dist":{"shasum":"289be6ca3a0dd1879b0bf26d2e628dcd79b138e6","tarball":"https://registry.npmjs.org/6xs/-/6xs-0.1.2.tgz","integrity":"sha512-obfncYzKAuvBJLzByPrPVkmCfxryHBPQOsf0vNN5Z/a8i2ABlE1a42pPx7zo83VZgtcbqyuDYz2LMwpZ1neTiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtuk1QPiQG3GL+//Ahb5hsGC4reEiTSGq8q5zH/3ipwAiEA7Gqc4iqkwLRG+cuRTGOD5QiyscM2+vO9c4ONu2Zsh0Y="}]},"maintainers":[{"name":"jelz","email":"jelz@post.pl"}]},"0.1.3":{"name":"6xs","version":"0.1.3","description":"Simple Storage Service Static Site Sync","author":{"name":"Jakub Elżbieciak","email":"jelz@post.pl","url":"https://elzbieciak.pl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jelz/6xs.git"},"main":"lib/index.js","scripts":{"lint":"jshint lib/*.js test/*.js test/*/*.js","hint":"npm run lint","test":"faucet test/unit/*.js","test-integration":"faucet test/integration/*.js","test-all":"npm run lint && npm test && npm run test-integration","clean":"rm -rf node_modules","coverage":"istanbul cover tape test/unit/*.js","coverage-codecov":"cat ./coverage/coverage.json | codecov"},"dependencies":{"async":"1.5.0","aws-sdk":"2.2.26","glob":"6.0.1","lodash":"3.10.1","mmmagic":"0.4.1"},"devDependencies":{"codecov.io":"0.1.6","faucet":"0.0.1","istanbul":"0.4.1","jshint":"2.8.0","proxyquire":"1.7.3","request":"2.67.0","sinon":"1.17.2","tape":"4.2.2"},"engines":{"node":">=4.2.3"},"gitHead":"3914e8995aed414cd3d20f548f4002fbca117171","bugs":{"url":"https://github.com/jelz/6xs/issues"},"homepage":"https://github.com/jelz/6xs#readme","_id":"6xs@0.1.3","_shasum":"775317c255d290f6e64ce66cb41eca8ff7e9223c","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"jelz","email":"jelz@post.pl"},"dist":{"shasum":"775317c255d290f6e64ce66cb41eca8ff7e9223c","tarball":"https://registry.npmjs.org/6xs/-/6xs-0.1.3.tgz","integrity":"sha512-yJ32s6F4REWHx0vMYeBLm9u8FaHxhhT1GqCpblMEZag3Y6ZL6z4hJM9/2i+lqa4yx3pu4ZtzVftQh9lBZQTfRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD46mSB7hxFQjYV33fpqzjO2GyVTAaCEQymu2aPHxO7nAIhAORm8TaAgJ7qEEcvtK/J4lui/lsY5rGSa+wk0gtGtoTa"}]},"maintainers":[{"name":"jelz","email":"jelz@post.pl"}]},"0.2.0":{"name":"6xs","version":"0.2.0","description":"Simple Storage Service Static Site Sync","keywords":["sync","publish","s3","simple storage service","aws","cloudfront","static site","ssg"],"author":{"name":"Jakub Elżbieciak","email":"jelz@post.pl","url":"https://elzbieciak.pl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jelz/6xs.git"},"main":"lib/index.js","scripts":{"lint":"jshint lib/*.js test/*.js test/*/*.js","hint":"npm run lint","test":"faucet test/unit/*.js","test-integration":"faucet test/integration/*.js","test-all":"npm run lint && npm test && npm run test-integration","clean":"rm -rf node_modules","coverage":"istanbul cover tape test/unit/*.js","coverage-codecov":"cat ./coverage/coverage.json | codecov"},"dependencies":{"async":"^1.5.2","aws-sdk":"^2.2.39","glob":"^7.0.0","lodash":"^4.5.1","mmmagic":"^0.4.1"},"devDependencies":{"codecov.io":"^0.1.6","faucet":"0.0.1","istanbul":"^0.4.2","jshint":"^2.9.1","proxyquire":"^1.7.4","request":"^2.69.0","sinon":"^1.17.3","tape":"^4.4.0"},"engines":{"node":">=4.3.1"},"gitHead":"8ca9b9134032e296d85654423fe3f70a2907c47d","bugs":{"url":"https://github.com/jelz/6xs/issues"},"homepage":"https://github.com/jelz/6xs#readme","_id":"6xs@0.2.0","_shasum":"c18542825c02472640c60434221a528af847d485","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"jelz","email":"jelz@post.pl"},"dist":{"shasum":"c18542825c02472640c60434221a528af847d485","tarball":"https://registry.npmjs.org/6xs/-/6xs-0.2.0.tgz","integrity":"sha512-CXmD+XZUuzgrfioSsaMisxp6sLqTKShdm7kJKXztCS0RjdeyHlhtpZaJC1585In3Erv6W+gKbids3bq05Ewlnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ8oMstCSlWnOJ50g4pR1HsHL2Swr4euaVwWRANKMRdgIhALXe9pvNZWZHW8rU7GURVgfNMoSvSmtNuowoRyk3pLLR"}]},"maintainers":[{"name":"jelz","email":"jelz@post.pl"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/6xs-0.2.0.tgz_1456660725767_0.9539190649520606"}},"0.3.0":{"name":"6xs","version":"0.3.0","description":"Simple Storage Service Static Site Sync","keywords":["sync","publish","s3","simple storage service","aws","cloudfront","static site","ssg"],"author":{"name":"Jakub Elżbieciak","email":"jelz@post.pl","url":"https://elzbieciak.pl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jelz/6xs.git"},"main":"lib/index.js","scripts":{"lint":"jshint lib/*.js test/*.js test/*/*.js","hint":"npm run lint","test":"faucet test/unit/*.js","test-integration":"faucet test/integration/*.js","test-all":"npm run lint && npm test && npm run test-integration","clean":"rm -rf node_modules","coverage":"istanbul cover tape test/unit/*.js","coverage-codecov":"cat ./coverage/coverage.json | codecov"},"dependencies":{"async":"^1.5.2","aws-sdk":"^2.2.47","glob":"^7.0.3","lodash":"^4.6.1","mmmagic":"^0.4.1"},"devDependencies":{"codecov.io":"^0.1.6","faucet":"0.0.1","istanbul":"^0.4.2","jshint":"^2.9.1","proxyquire":"^1.7.4","request":"^2.69.0","sinon":"^1.17.3","tape":"^4.5.1"},"engines":{"node":">=4.3.1"},"gitHead":"40b87902fae9cf4c50d34f61f386b4dd073c40bb","bugs":{"url":"https://github.com/jelz/6xs/issues"},"homepage":"https://github.com/jelz/6xs#readme","_id":"6xs@0.3.0","_shasum":"7f9cb92bee1faa1449733a3ba8aa465e1db40838","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"jelz","email":"jelz@post.pl"},"dist":{"shasum":"7f9cb92bee1faa1449733a3ba8aa465e1db40838","tarball":"https://registry.npmjs.org/6xs/-/6xs-0.3.0.tgz","integrity":"sha512-jzQj+g8QUIvcbkLcnsdfGi9Oq7IimuUFf3rTKVEO48Aixox1QjWH86WpuQPh4ZjsBLrBmq+Z1qbk7tZrlgF+KA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDNbL/8bD88UsO05Q/KxE/+Kai9bhSmlc41qEv1Ps0pgIgB4M79m5RMs9bAyTgV982xhognLKHKmTLpCs37xGSdHY="}]},"maintainers":[{"name":"jelz","email":"jelz@post.pl"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/6xs-0.3.0.tgz_1458933956255_0.5891104496549815"}},"0.4.0":{"name":"6xs","version":"0.4.0","description":"Simple Storage Service Static Site Sync","keywords":["sync","publish","s3","simple storage service","aws","cloudfront","static site","ssg"],"author":{"name":"Jakub Elżbieciak","email":"jelz@post.pl","url":"https://elzbieciak.pl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jelz/6xs.git"},"main":"lib/index.js","scripts":{"lint":"jshint lib/*.js test/*.js test/*/*.js","hint":"npm run lint","test":"faucet test/unit/*.js","test-integration":"faucet test/integration/*.js","test-all":"npm run lint && npm test && npm run test-integration","clean":"rm -rf node_modules","coverage":"istanbul cover tape test/unit/*.js","coverage-codecov":"cat ./coverage/coverage.json | codecov"},"dependencies":{"async":"^1.5.2","aws-sdk":"^2.2.47","glob":"^7.0.3","lodash":"^4.6.1","mime":"^1.3.4"},"devDependencies":{"codecov.io":"^0.1.6","faucet":"0.0.1","istanbul":"^0.4.2","jshint":"^2.9.1","proxyquire":"^1.7.4","request":"^2.69.0","sinon":"^1.17.3","tape":"^4.5.1"},"engines":{"node":">=4.4.5"},"gitHead":"ab17d8bb625340c286d60cb60d21ee9238d08e95","bugs":{"url":"https://github.com/jelz/6xs/issues"},"homepage":"https://github.com/jelz/6xs#readme","_id":"6xs@0.4.0","_shasum":"5f2a3836df49bd4d54522be5a0c0c2fd8fe8790e","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"jelz","email":"jelz@post.pl"},"dist":{"shasum":"5f2a3836df49bd4d54522be5a0c0c2fd8fe8790e","tarball":"https://registry.npmjs.org/6xs/-/6xs-0.4.0.tgz","integrity":"sha512-1BukZaN5QBbR6LAKcdaa6dM58iKMpOuejZsiDFBnstBme7694/aTX0Ks/kUvHND6iQ6+nLvh4lFp5YIFgBclGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICyTZa4dlAYUsbF8w/m8gLw2ZH2WDkh1DOh8zIhsXFnWAiB3LaXlBih7xcHyxhvyZcfywqGrH8u9gNwHYQpUQh+8Zw=="}]},"maintainers":[{"name":"jelz","email":"jelz@post.pl"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/6xs-0.4.0.tgz_1465664080039_0.40144055895507336"}},"0.5.0":{"name":"6xs","version":"0.5.0","description":"Simple Storage Service Static Site Sync","keywords":["sync","publish","s3","simple storage service","aws","cloudfront","static site","ssg"],"author":{"name":"Jakub Elżbieciak","email":"jelz@post.pl","url":"https://elzbieciak.pl"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/jelz/6xs.git"},"main":"lib/index.js","cli":"lib/cli.js","scripts":{"lint":"eslint --no-ignore .eslintrc.js \"lib/*.js\" \"test/*.js\" \"test/*/*.js\"","test":"faucet test/unit/*.js","test-integration":"faucet test/integration/*.js","test-all":"npm run lint && npm test && npm run test-integration","clean":"rm -rf node_modules","coverage":"istanbul cover tape test/unit/*.js","coverage-codecov":"cat ./coverage/coverage.json | codecov"},"dependencies":{"async":"^1.5.2","aws-sdk":"^2.7.21","glob":"^7.1.1","lodash":"^4.17.4","meow":"^3.7.0","mime":"^1.3.4"},"devDependencies":{"codecov.io":"^0.1.6","eslint":"^3.13.1","faucet":"0.0.1","istanbul":"^0.4.5","proxyquire":"^1.7.10","request":"^2.79.0","sinon":"^1.17.7","tape":"^4.6.3"},"gitHead":"a2f4015674796e7d9bfde50516426b1129a9b2e0","bugs":{"url":"https://github.com/jelz/6xs/issues"},"homepage":"https://github.com/jelz/6xs#readme","_id":"6xs@0.5.0","_shasum":"c6708653b2e7a3178a6417c819d54508c1f73efa","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.3.1","_npmUser":{"name":"jelz","email":"jelz@post.pl"},"dist":{"shasum":"c6708653b2e7a3178a6417c819d54508c1f73efa","tarball":"https://registry.npmjs.org/6xs/-/6xs-0.5.0.tgz","integrity":"sha512-1qAEzl0Kz/At3I6L6CECGDB0GI4Fet9xD2IcSQhyNSwPimL92OL8Crl7jbB2ptmEXlA5FZHHxhJX1eZIQXJb0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbUEWlulYksSZ5dc1em9wWAtM/y6bG06qHYtwXpVeBxgIhAKXg4vHPRjr15aOyEYsRgbOIJKPmpsp5bTssLh/+uiTw"}]},"maintainers":[{"name":"jelz","email":"jelz@post.pl"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/6xs-0.5.0.tgz_1484483205609_0.2451644390821457"}}},"readme":"# 6xs\n\n[![npm version](https://img.shields.io/npm/v/6xs.svg)](https://www.npmjs.com/package/6xs)\n[![Build Status](https://travis-ci.org/jelz/6xs.svg)](https://travis-ci.org/jelz/6xs)\n[![Code Coverage](https://codecov.io/github/jelz/6xs/coverage.svg?branch=master)](https://codecov.io/github/jelz/6xs?branch=master)\n[![npm downloads](https://img.shields.io/npm/dt/6xs.svg)](https://www.npmjs.com/package/6xs)\n[![Dependency Status](https://david-dm.org/jelz/6xs.svg)](https://david-dm.org/jelz/6xs)\n[![devDependency Status](https://david-dm.org/jelz/6xs/dev-status.svg)](https://david-dm.org/jelz/6xs#info=devDependencies)\n\n_6xs_ means Simple Storage Service Static Site Sync.\n\nIt takes your `/public` directory (or however you call it) and pushes its\ncontents (optionally matching with `node-glob`) into a selected S3 bucket.\n\nIt also can:\n\n- remove remote files that are not found in your local directory\n- create an invalidation for a chosen CloudFront distribution\n\n## Usage\n\nThis usage example presents all available configuration options:\n\n```javascript\nvar sync = require('6xs');\nvar path = require('path');\n\nsync({\n  // defaults to: process.cwd() + '/public'\n  base: path.join(__dirname, 'public'),\n  // defaults to: '**'\n  patterns: ['*.html', 'font/*'],\n  // defaults to noop\n  logger: function () {\n    return console.log.apply(console, arguments);\n  },\n  // custom mappings between file extension and content type\n  // if not provided, libmagic is used for detection\n  // values below are used by default:\n  contentTypeMap: {\n    html: 'text/html',\n    css: 'text/css',\n    js: 'application/javascript',\n    json: 'application/json'\n  },\n  aws: {\n    // have to be provided:\n    access_key_id: 'abcdef...',\n    secret_access_key: 'xyz987...',\n    // defaults:\n    ssl: true,\n    retries: 3,\n    concurrency: 10\n  },\n  s3: {\n    // have to be provided:\n    region: 'eu-west-1',\n    bucket: 'your-bucket-name',\n    // defaults to false:\n    remove_remote_surplus: true\n    // defaults:\n    max_age: 365,\n    s_max_age: 1,\n  },\n  // if the distribution id is provided,\n  // its content will be invalidated after the upload\n  cf_distribution_id: 'qwerty...'\n}, function (err, uploadedFiles) {\n  // callback is optional\n  // if upload was successful, err will be null\n  // uploadedFiles is an array of paths\n});\n```\n\n## CLI usage\n\n```\nUsage\n  $ 6xs <settings/options>\n\n  This will upload the current working directory to the specified S3 bucket.\n\nRequired settings\n  -i, --id      AWS Access Key ID\n  -s, --secret  AWS Secret Access Key\n  -b, --bucket  AWS S3 Bucket name\n  -r, --region  AWS region\n\nOptions\n  -p, --patterns     Glob patterns of the files to upload\n                     default: **\n                     e.g. *.html\n                     e.g. *.html,fonts/*\n\n  -ma, --max-age     Cache-Control max-age header, in days\n                     default: 365\n\n  -sa, --s-max-age   Cache-Control s-maxage header, in days\n                     default: 1\n\n  --retries          Number of retries\n                     Default: 3\n\n  --concurrency      Number of concurrent uploads\n                     Default: 10\n\n  --remove-surplus   Remove remote files that are not\n                     found in your local directory\n\n  --no-ssl           Don't use SSL\n\n  -cf, --cloudfront  The distribution ID to invalidate\n\nExamples\n  $ 6xs -i I2B -s KPAvL4GR -b my-s3-site.gov -r us-west-2 --remove-surplus\n  Uploading: ...\n```\n\n## Contributing\n\nPull requests and/or issue reports are warmly welcomed!\n\n### Running tests\n\n```sh\n$ npm run test\n$ npm run coverage\n```\n\n### Running integration tests locally\n\nTravis build won't run integration tests if your PR originates in a fork.\n\nYou'll need to provide 4 environmental variables to run integration tests\nlocally. The user identified by the access key has to have an appropriate\nallowing policy for the S3 bucket assigned.\n\n```sh\n$ AWS_ACCESS_KEY_ID=key-id \\\nAWS_SECRET_ACCESS_KEY=secret \\\nS3_REGION=your-region \\\nS3_BUCKET=your-test-bucket \\\nnpm run test-integration\n```\n\nIf you understand implications you can copy `integration-test.sh.dist` and\nadjust it to your needs.\n\n## Contributors\n\n- [Jakub Elżbieciak](https://elzbieciak.pl) ([@jelzbieciak](https://twitter.com/jelzbieciak))\n- [Federico Brigante](https://github.com/bfred-it) ([@bfred_it](https://twitter.com/bfred_it))\n\n## License\n\nMIT\n","maintainers":[{"name":"jelz","email":"jelz@post.pl"}],"time":{"modified":"2022-06-12T14:08:28.394Z","created":"2015-12-22T10:40:57.301Z","0.1.0":"2015-12-22T10:40:57.301Z","0.1.1":"2015-12-22T10:58:32.556Z","0.1.2":"2015-12-22T11:44:21.599Z","0.1.3":"2016-01-27T20:21:07.269Z","0.2.0":"2016-02-28T11:58:47.206Z","0.3.0":"2016-03-25T19:25:57.173Z","0.4.0":"2016-06-11T16:54:42.649Z","0.5.0":"2017-01-15T12:26:46.723Z"},"homepage":"https://github.com/jelz/6xs#readme","repository":{"type":"git","url":"git+https://github.com/jelz/6xs.git"},"author":{"name":"Jakub Elżbieciak","email":"jelz@post.pl","url":"https://elzbieciak.pl"},"bugs":{"url":"https://github.com/jelz/6xs/issues"},"license":"MIT","readmeFilename":"README.md","keywords":["sync","publish","s3","simple storage service","aws","cloudfront","static site","ssg"]}