{"_id":"@axeptio/s3-cloudfront-static-deploy","_rev":"42-69a46939f8e4a34d3f576fcf18f1c65b","name":"@axeptio/s3-cloudfront-static-deploy","dist-tags":{"preflight-36598212743":"2.5.0","preflight-36696529907":"2.6.0","latest":"2.6.0","preflight-36697152651":"2.6.0"},"versions":{"1.0.0":{"name":"@axeptio/s3-cloudfront-static-deploy","version":"1.0.0","keywords":["s3","aws","cloudFront"],"author":{"name":"Axeptio"},"license":"MIT","_id":"@axeptio/s3-cloudfront-static-deploy@1.0.0","maintainers":[{"name":"rombat","email":"roro.devweb@gmail.com"},{"name":"jlotery","email":"jlotery@gmail.com"},{"name":"romaingabilan","email":"romain.gabilan@axeptio.eu"},{"name":"fluorz","email":"leo.lecherbonnier@axeptio.eu"},{"name":"romainbessuges","email":"romainbessuges@gmail.com"}],"contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"dist":{"shasum":"f49ab324bae21e941d38a441087f5d1780bcc3ff","tarball":"https://registry.npmjs.org/@axeptio/s3-cloudfront-static-deploy/-/s3-cloudfront-static-deploy-1.0.0.tgz","fileCount":5,"integrity":"sha512-Ru8Z2YSR6lfJA2ae4MFYlfzAHxG5SNKE596EL5ob9uCPxdgCiixozHn6o3CoUr4f/OBuwEHM3hOYkGiCUlnjiw==","signatures":[{"sig":"MEUCICtlgz/58YC+SnT9h2veRHas8cZrV6U23e2fgaqN+nq8AiEAyovomdjPVURV794UStUEzT2DHZMcy4ILikLYD/nk+OA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17891,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJFCTACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqaEw//b756UKifd9gvVo+wDLvecbbTHwnovdQmHMqLSum3X6mjeDMr\r\nJgeuzS2lVYlh74qbTVcs6lh30KfETtiKUz2lp7Klvfkhk8gDwNAJ9QdczwMG\r\n7RBwIJ6S73QBKXOd8k6r8jRFqX+8aG5H5N41RNSivUaRWrilE7hdMu5y86g5\r\n8G8XoxGSCuga27SeYNZTW/JzQpx9mzWOS2ZiNY1KKwFU+9c04XEiG72hz0Du\r\nBG5RnW3spGk/1G/htGf89+C/7zbZMRFJgSATNvZYwiZ+riN+QMRkKN3YpVdl\r\nmeocgxeyAG7/FF7MmfZcN0OonCpYvpqSMGpEKD5dxlabLY1qPwIhEMx2JcyG\r\nVmPy27YtotSwo9qPxOIT0XkE377/HpeJhlb+XHVb5OKu2ejBOLOmJTXm1FGa\r\n7vbeealcDzBJ3SoOzDWytBYiD1FOcLtRNQQ5LuU7JswGFevm0wRjacu9t8VD\r\n5uVn27eEcNjypPodtOQb1dqtAWWBrqQrTmHV2p3xQrMHFrvf59D2CTSRnqrE\r\nsJED4TPQoRLVOmE+nVG/Xts/B4q81L1QLhqoofd0l4qfftURx9gumw9ptFH8\r\npdeckGrUNOM7fKo4xSBsY4xTy9K0VFGcZC5jLGNK15EbLNgPXM4e39z1bEiT\r\njc6ce40hIK2+9NL0bRjlIhSi7WZQHb/6rAA=\r\n=vrr+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/api.js","engines":{"node":">=8.0.0"},"gitHead":"263cf6a995ccb002f35d4e9ddb94939b96a6c691","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"rombat","email":"roro.devweb@gmail.com"},"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"_npmVersion":"9.6.2","description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","eslint":"^5.3.0","aws-sdk":"^2.380.0","random-words":"^1.1.0","semantic-release":"^21.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.14.0","@semantic-release/git":"^10.0.1","eslint-plugin-security":"^1.4.0","eslint-config-airbnb-base":"13.1.0","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"aws-sdk":"^2.380.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-cloudfront-static-deploy_1.0.0_1680101523436_0.8511780362415364","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@axeptio/s3-cloudfront-static-deploy","version":"1.0.1","keywords":["s3","aws","cloudFront"],"author":{"name":"Axeptio"},"license":"MIT","_id":"@axeptio/s3-cloudfront-static-deploy@1.0.1","maintainers":[{"name":"rombat","email":"roro.devweb@gmail.com"},{"name":"jlotery","email":"jlotery@gmail.com"},{"name":"romaingabilan","email":"romain.gabilan@axeptio.eu"},{"name":"fluorz","email":"leo.lecherbonnier@axeptio.eu"},{"name":"romainbessuges","email":"romainbessuges@gmail.com"}],"contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"dist":{"shasum":"8d8d2f594e0c47ef34a616e5f2398c538df19057","tarball":"https://registry.npmjs.org/@axeptio/s3-cloudfront-static-deploy/-/s3-cloudfront-static-deploy-1.0.1.tgz","fileCount":5,"integrity":"sha512-KHKSTugHF8wJIIIeDoEs6LwO8kr8foFsF+UI3Hc1msoVOxZHEU5IuDy7qUZfRaa1dlvDNXeC3WUgBSvytwBJLw==","signatures":[{"sig":"MEUCIQCSqCQHxJc3CwrCpkuOfuNuxQjOEeLLTMTtcf+wRlJz/AIgZQDvezbY06GTZpvrnmXDcVZDbOtKRrkAMEPUlSJrOcw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17879,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkJFGQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgBQ/+LrC8fVWqf3Tuw8ocNG8zNVFSqqF3r3tErf70bITZjOIhr7kt\r\nmxgteNtF/0MtbeCKz+EuTxnOG6DTsZe6S1eJdPIrJ0b70EZweoQyMVov+pBH\r\ngBhU+eHSUOrhjqlN20Flzuk9zxM5+w6oj4fZu6T8ubm9QirI4eMk3chvUoQE\r\n88LsKyK7nEc6Ax/MVjo2jVp9vrxcIh1e9QxVj+epIHe95ywz7alOr0dXxc+I\r\nXHNxjHbeIsQbe86Nhi+UgCPmX1hnKfy1MBOWxjEQtoQZvXl4y3O9S6+Pp+sa\r\njE9yzSdyhAN0/nKyVro+QjeJ9Dqmmm/WfFSK8TUku9TtsmZB7UCwysdpLMMf\r\nwXYNEqJikhukdIxXk/sNLKhy3NuYDEV6LG9FF9SSxe0hiNkkIbwUckfVSgfx\r\nIL7eNNPL3cBeeecjL3Fwmz8q6E4Ha2rvbvqeZVMep1+3CysrgnDZrlfAAYan\r\nvZe46GCgQglmwVNRrtpUUk41Cw+F8ubmJw2ulpHQMcgFs6DTlNmm5a49cTyj\r\nbxM4LpKY+BAQQhBjWYOSJvP2Ua7xlWzKQmPIzzp+RP8QW7YlWxiNbzA8aCHS\r\nMOuwamKpUJeLNbTzlpcjHSi0LRxcSpdw4SExY6s6IBrK+DxS7UaE2QELKtuz\r\nn+T4vTqBP40MQ7Z2en26fo/C7OWmQ7wYMlA=\r\n=+5ZS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/api.js","engines":{"node":">=8.0.0"},"gitHead":"6b609b13e0180d4914434c40194fa07e1b458995","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"rombat","email":"roro.devweb@gmail.com"},"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"_npmVersion":"9.6.2","description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","eslint":"^5.3.0","aws-sdk":"^2.380.0","random-words":"^1.1.0","semantic-release":"^21.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.14.0","@semantic-release/git":"^10.0.1","eslint-plugin-security":"^1.4.0","eslint-config-airbnb-base":"13.1.0","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"aws-sdk":"^2.380.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-cloudfront-static-deploy_1.0.1_1680101775818_0.15704814228800856","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@axeptio/s3-cloudfront-static-deploy","version":"1.0.2","keywords":["s3","aws","cloudFront"],"author":{"name":"Axeptio"},"license":"MIT","_id":"@axeptio/s3-cloudfront-static-deploy@1.0.2","maintainers":[{"name":"rombat","email":"roro.devweb@gmail.com"},{"name":"jlotery","email":"jlotery@gmail.com"},{"name":"romaingabilan","email":"romain.gabilan@axeptio.eu"},{"name":"fluorz","email":"leo.lecherbonnier@axeptio.eu"},{"name":"romainbessuges","email":"romainbessuges@gmail.com"}],"contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"dist":{"shasum":"98f7f440b808552ef5611aae0afe9ae55c6ef1cc","tarball":"https://registry.npmjs.org/@axeptio/s3-cloudfront-static-deploy/-/s3-cloudfront-static-deploy-1.0.2.tgz","fileCount":5,"integrity":"sha512-gCeBBzX2qsIimCJYQt4uCiGLe1nVKBA+PSeP7NjF6wZBmmPQFPcfKQjsrijEObT/5R2NB9O6f5qGBaYsltt2xQ==","signatures":[{"sig":"MEUCIB9mf+/0SMciUkSNuoDP5eHqWi9HUBnuGkE5TILFZ6kvAiEA5JZEGyc80tyt1qyP352cR+OE27rn13anFSgj5VYsCXk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLt9PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqMmQ/9GHAwSByfU9iXTNCASu59lhZFg84km2Wp8zl9vuYEGck/3Qca\r\nbAPq7R64U9+WDOwPiRa1dFFtDknDN/ledsj8xHy90/ZGpMyx4K7vS3Kuw0Ix\r\nQM3dnBbdFlvPp9YEx8Gxe5g5MESJHWM5tDgmNBHfaKFnWlSdarVli+UeaI0k\r\nbeiul6bfFRRdbLzSH6FUnA2BtjLpDq8WgJJ1oVidvVLuIrkdIUtIWBFnmvMd\r\nD538yE2B03zEUWAzbWCaX0WP/GQeyyzILPqskD9GoobtAujBD0D+f2VsGkbh\r\nFt+/gkoRZ5MntzhAbnJOO4nmLYrGrKM48uVIob6YbKaVY7xuPKeNDTbO8X/h\r\nL11bF8bvu1aF+JVMrZ+QlswZke8lZL/Uf6n1LsQlFwaT6YJVB9aQmboKk3SX\r\nUHBJLNgfvVATuMNF5bacyPVPjr90tcgHKK9jI/EBFOFLbppSqgcbQTmEm5zc\r\nxQOQDo1WKGdT5iZxZP6ePsNYOaWcvLjnS8KvKh2KotVvq8+t9zI7/I4SIKHk\r\nZ4bmU7r0wtTyuKvbA8HWnALeycpIe6mpTrsD5vqFo8Gu5ZWfGuapbIDzzXzr\r\n1xpnkXOONxCgr2YRLYLEc5/aRJldiQyneYiTUzWyTyg4WfPHlhC6pGGERhKk\r\n1O3z0rue0pIuSxKH9U70xnppOogXWACHco8=\r\n=gJGq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/api.js","engines":{"node":">=8.0.0"},"gitHead":"4f90a9abf7090b605aced0ff0418e2d4c2fe09d6","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"rombat","email":"roro.devweb@gmail.com"},"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"_npmVersion":"9.6.2","description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","directories":{},"_nodeVersion":"18.15.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","eslint":"^5.3.0","aws-sdk":"^2.380.0","random-words":"^1.1.0","semantic-release":"^21.0.0","eslint-plugin-node":"^8.0.0","eslint-plugin-import":"^2.14.0","@semantic-release/git":"^10.0.1","eslint-plugin-security":"^1.4.0","eslint-config-airbnb-base":"13.1.0","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"aws-sdk":"^2.380.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-cloudfront-static-deploy_1.0.2_1680793423716_0.49123286066384253","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@axeptio/s3-cloudfront-static-deploy","version":"1.1.0","keywords":["s3","aws","cloudFront"],"author":{"name":"Axeptio"},"license":"MIT","_id":"@axeptio/s3-cloudfront-static-deploy@1.1.0","maintainers":[{"name":"vincentbianciotto","email":"vincent@axeptio.eu"},{"name":"shouze","email":"sebastien.houze@gmail.com"},{"name":"achalhii","email":"ilyesachalhi@gmail.com"},{"name":"christophebraud","email":"christophe@agilitation.fr"},{"name":"rombat","email":"roro.devweb@gmail.com"},{"name":"romaingabilan","email":"romain.gabilan@axeptio.eu"},{"name":"fluorz","email":"leo.lecherbonnier@axeptio.eu"},{"name":"romainbessuges","email":"romainbessuges@gmail.com"}],"contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"dist":{"shasum":"cce4a692210acb436dff32b51fb55e64b73bc6f2","tarball":"https://registry.npmjs.org/@axeptio/s3-cloudfront-static-deploy/-/s3-cloudfront-static-deploy-1.1.0.tgz","fileCount":5,"integrity":"sha512-m/rSS98J6KDywaSZUn2DYhdkTgIqt2Bx9Gs/+bU7gYE2AMDS0/wJPjezWFIpVqnrqeEwWhjM5Z0RqFckh/pFkg==","signatures":[{"sig":"MEUCIQCEkJ5wh1uRpSU6KF+9mk3y+ZY5AQ5ySkW8iK/H0I2Z1AIgJyTVMEloZtRuwEzL101vMIRupFpeGYB3TWHfId3eo2Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17894},"main":"lib/api.js","engines":{"node":">=8.0.0"},"gitHead":"7f57c6f645a95aa93d383c1b08f75a942b065ca1","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"rombat","email":"roro.devweb@gmail.com"},"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"_npmVersion":"9.6.2","description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","dotenv":"^16.3.1","eslint":"^8.13.0","prettier":"^2.7.1","random-words":"^1.1.0","eslint-plugin-n":"^15.2.0","prettier-eslint":"^15.0.1","semantic-release":"^21.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.26.0","@semantic-release/git":"^10.0.1","eslint-config-axeptio":"^1.0.0","eslint-plugin-indexof":"^0.1.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"@aws-sdk/client-s3":"^3.397.0","@aws-sdk/client-cloudfront":"^3.395.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-cloudfront-static-deploy_1.1.0_1692966652951_0.9898228627708767","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@axeptio/s3-cloudfront-static-deploy","version":"2.0.0","keywords":["s3","aws","cloudFront"],"author":{"name":"Axeptio"},"license":"MIT","_id":"@axeptio/s3-cloudfront-static-deploy@2.0.0","maintainers":[{"name":"vincentbianciotto","email":"vincent@axeptio.eu"},{"name":"shouze","email":"sebastien.houze@gmail.com"},{"name":"achalhii","email":"ilyesachalhi@gmail.com"},{"name":"christophebraud","email":"christophe@agilitation.fr"},{"name":"rombat","email":"roro.devweb@gmail.com"},{"name":"romaingabilan","email":"romain.gabilan@axeptio.eu"},{"name":"fluorz","email":"leo.lecherbonnier@axeptio.eu"},{"name":"romainbessuges","email":"romainbessuges@gmail.com"}],"contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"dist":{"shasum":"fad2b3960cd2b71ec3e4b2e42b513fca743f76f8","tarball":"https://registry.npmjs.org/@axeptio/s3-cloudfront-static-deploy/-/s3-cloudfront-static-deploy-2.0.0.tgz","fileCount":5,"integrity":"sha512-9iECddWMT6hSVCp9n3AnQHz24AIVd5NFyFQPlZXGRIveyo9GuYzJBSXZNI6KythaaGIDueniz6vRlRF7IB6zbg==","signatures":[{"sig":"MEUCIQCOSlcu+55o/G71SLl6Kkpak5wgIScODnzeGzg26y0hMgIgBMuLitXk1DEtIjb43vgmR1s/n+o9A//9rns/NbAQmBk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17894},"main":"lib/api.js","engines":{"node":">=8.0.0"},"gitHead":"837c0c851d57515da8c743a65a7fe014c9194823","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"rombat","email":"roro.devweb@gmail.com"},"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"_npmVersion":"9.6.2","description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","dotenv":"^16.3.1","eslint":"^8.13.0","prettier":"^2.7.1","random-words":"^1.1.0","eslint-plugin-n":"^15.2.0","prettier-eslint":"^15.0.1","semantic-release":"^21.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.26.0","@semantic-release/git":"^10.0.1","eslint-config-axeptio":"^1.0.0","eslint-plugin-indexof":"^0.1.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"@aws-sdk/client-s3":"^3.397.0","@aws-sdk/client-cloudfront":"^3.395.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-cloudfront-static-deploy_2.0.0_1692967066745_0.03637273469716429","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@axeptio/s3-cloudfront-static-deploy","version":"2.0.1","keywords":["s3","aws","cloudFront"],"author":{"name":"Axeptio"},"license":"MIT","_id":"@axeptio/s3-cloudfront-static-deploy@2.0.1","maintainers":[{"name":"vincentbianciotto","email":"vincent@axeptio.eu"},{"name":"shouze","email":"sebastien.houze@gmail.com"},{"name":"achalhii","email":"ilyesachalhi@gmail.com"},{"name":"christophebraud","email":"christophe@agilitation.fr"},{"name":"rombat","email":"roro.devweb@gmail.com"},{"name":"romaingabilan","email":"romain.gabilan@axeptio.eu"},{"name":"fluorz","email":"leo.lecherbonnier@axeptio.eu"},{"name":"romainbessuges","email":"romainbessuges@gmail.com"}],"contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"dist":{"shasum":"cad68ca380cab3b7f18d2e7d6b89df36ee558752","tarball":"https://registry.npmjs.org/@axeptio/s3-cloudfront-static-deploy/-/s3-cloudfront-static-deploy-2.0.1.tgz","fileCount":5,"integrity":"sha512-4uAgGzptTw5L0fTVDbCMhIrtQB/FRpgOAvGHRVElFkCRLxIKnIR7jVISBRhHQj4+ETj1p2hM7YnIP+qoWWY/bQ==","signatures":[{"sig":"MEUCIQDa9LPz+Z0R+jmI48ND7X1/IHJBzo1jzBOWpMXlugyFJwIgYA2r2xR5RI2F94gJXABNAhzvbw/J8kLExvKz4b/7soU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17894},"main":"lib/api.js","engines":{"node":">=8.0.0"},"gitHead":"687c1fee780c8c8bbe0cd86ffe12daf364a9adf8","scripts":{"test":"node test/test.js"},"_npmUser":{"name":"rombat","email":"roro.devweb@gmail.com"},"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"_npmVersion":"9.6.2","description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","dotenv":"^16.3.1","eslint":"^8.13.0","prettier":"^2.7.1","random-words":"^1.1.0","eslint-plugin-n":"^15.2.0","prettier-eslint":"^15.0.1","semantic-release":"^21.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.26.0","@semantic-release/git":"^10.0.1","eslint-config-axeptio":"^1.0.0","eslint-plugin-indexof":"^0.1.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"@aws-sdk/client-s3":"^3.397.0","@aws-sdk/client-cloudfront":"^3.395.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-cloudfront-static-deploy_2.0.1_1693387526493_0.7612460838501267","host":"s3://npm-registry-packages"}},"2.3.0":{"name":"@axeptio/s3-cloudfront-static-deploy","version":"2.3.0","keywords":["s3","aws","cloudFront"],"author":{"name":"Axeptio"},"license":"MIT","_id":"@axeptio/s3-cloudfront-static-deploy@2.3.0","maintainers":[{"name":"romainbessuges","email":"romainbessuges@gmail.com"},{"name":"axeptiotech","email":"tech@axeptio.eu"},{"name":"a_ng_d_axeptio","email":"aurelien.grimaud@axeptio.eu"},{"name":"rombat","email":"roro.devweb@gmail.com"},{"name":"pleberre","email":"philippe.leberre@axeptio.eu"},{"name":"luisfl-axeptio","email":"luis.flores.externe@axeptio.eu"},{"name":"javier.costa-axeptio","email":"javier.costa@axeptio.eu"},{"name":"matheuscavinax","email":"matheus.cavinato@axeptio.eu"}],"contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"dist":{"shasum":"e7a41c0d9e8e73f0fb8bcbba299aff0bb2423353","tarball":"https://registry.npmjs.org/@axeptio/s3-cloudfront-static-deploy/-/s3-cloudfront-static-deploy-2.3.0.tgz","fileCount":6,"integrity":"sha512-WYOoN4stDIy2ec2nsEbzcFmdyrLh3ceYOijpclAdfI3tgkYrot2Fb+jtKbu6kekAnXLvyOdzjeC3+TwSpUVDiQ==","signatures":[{"sig":"MEQCIFD5nLmvEIaUEW9i5Loo1xS708t/aeOXYgW9a97j3Y6/AiAu0+mJ6xCLiL/BnATTaqWkH3MVXz0RE0IcXroBPnq1uQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18726},"main":"lib/api.js","engines":{"node":">=8.0.0"},"gitHead":"6da2b02fd145ee6b03f9e454a37ff648e4f35a1e","scripts":{"test":"node test/test.js","test:unit":"mocha test/unit/*.test.js","postinstall":"rm -rf node_modules/@aws-sdk/client-s3 node_modules/@aws-sdk/client-cloudfront"},"_npmUser":{"name":"axeptiotech","email":"tech@axeptio.eu"},"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"_npmVersion":"9.6.2","description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","dotenv":"^16.3.1","eslint":"^8.13.0","prettier":"^2.7.1","random-words":"^1.1.0","eslint-plugin-n":"^15.2.0","prettier-eslint":"^15.0.1","semantic-release":"^21.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.26.0","@semantic-release/git":"^10.0.1","eslint-config-axeptio":"^1.0.0","eslint-plugin-indexof":"^0.1.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"@aws-sdk/client-s3":"^3.397.0","@aws-sdk/client-cloudfront":"^3.395.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-cloudfront-static-deploy_2.3.0_1772724716739_0.5178706232633117","host":"s3://npm-registry-packages-npm-production"}},"2.4.0":{"name":"@axeptio/s3-cloudfront-static-deploy","version":"2.4.0","keywords":["s3","aws","cloudFront"],"author":{"name":"Axeptio"},"license":"MIT","_id":"@axeptio/s3-cloudfront-static-deploy@2.4.0","maintainers":[{"name":"romainbessuges","email":"romainbessuges@gmail.com"},{"name":"axeptiotech","email":"tech@axeptio.eu"},{"name":"a_ng_d_axeptio","email":"aurelien.grimaud@axeptio.eu"},{"name":"rombat","email":"roro.devweb@gmail.com"},{"name":"pleberre","email":"philippe.leberre@axeptio.eu"},{"name":"luisfl-axeptio","email":"luis.flores.externe@axeptio.eu"},{"name":"javier.costa-axeptio","email":"javier.costa@axeptio.eu"},{"name":"matheuscavinax","email":"matheus.cavinato@axeptio.eu"}],"contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"dist":{"shasum":"3711ae59ed9fd634906e6fb40c8b3b9a98a28309","tarball":"https://registry.npmjs.org/@axeptio/s3-cloudfront-static-deploy/-/s3-cloudfront-static-deploy-2.4.0.tgz","fileCount":6,"integrity":"sha512-wdDqXWMnlDr6TaMJKm+c2DXGoO5X8U4DOChvJG0MkqHaDX3EhI2uj+yP6AM0K+MgYQW6Ypv0dMuQWsO4yF7YBQ==","signatures":[{"sig":"MEUCIQDlXTslAQx1QvzVDOVjdJxBOn5b1Z7Gv0Z6xhjBxzQwSQIgQvEXqbg1z8zbjbiMLo4vARS4adCvW82XSUmXdPvBI9I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18726},"main":"lib/api.js","engines":{"node":">=8.0.0"},"gitHead":"b06c546d450a3b6f057c009fc57f09042fc66bba","scripts":{"test":"node test/test.js","test:unit":"mocha test/unit/*.test.js","postinstall":"rm -rf node_modules/@aws-sdk/client-s3 node_modules/@aws-sdk/client-cloudfront"},"_npmUser":{"name":"axeptiotech","email":"tech@axeptio.eu"},"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"_npmVersion":"9.6.2","description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","directories":{},"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","dotenv":"^16.3.1","eslint":"^8.13.0","prettier":"^2.7.1","random-words":"^1.1.0","eslint-plugin-n":"^15.2.0","prettier-eslint":"^15.0.1","semantic-release":"^21.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.26.0","@semantic-release/git":"^10.0.1","eslint-config-axeptio":"^1.0.0","eslint-plugin-indexof":"^0.1.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"@aws-sdk/client-s3":"^3.397.0","@aws-sdk/client-cloudfront":"^3.395.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-cloudfront-static-deploy_2.4.0_1772725404710_0.6990345870736709","host":"s3://npm-registry-packages-npm-production"}},"2.5.0":{"name":"@axeptio/s3-cloudfront-static-deploy","version":"2.5.0","keywords":["s3","aws","cloudFront"],"author":{"name":"Axeptio"},"license":"MIT","_id":"@axeptio/s3-cloudfront-static-deploy@2.5.0","maintainers":[{"name":"romainbessuges","email":"romainbessuges@gmail.com"},{"name":"axeptiotech","email":"tech@axeptio.eu"},{"name":"a_ng_d_axeptio","email":"aurelien.grimaud@axeptio.eu"},{"name":"rombat","email":"roro.devweb@gmail.com"},{"name":"pleberre","email":"philippe.leberre@axeptio.eu"},{"name":"luisfl-axeptio","email":"luis.flores.externe@axeptio.eu"},{"name":"javier.costa-axeptio","email":"javier.costa@axeptio.eu"},{"name":"matheuscavinax","email":"matheus.cavinato@axeptio.eu"}],"contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"nyc":{"all":true,"lines":95,"include":["lib/**/*.js"],"branches":95,"reporter":["text","lcov"],"functions":95,"statements":95,"check-coverage":true},"dist":{"shasum":"c759c2d4e87c501ddb1068bd7697bc8d2f35efb5","tarball":"https://registry.npmjs.org/@axeptio/s3-cloudfront-static-deploy/-/s3-cloudfront-static-deploy-2.5.0.tgz","fileCount":6,"integrity":"sha512-NI28fxZapbIo5I1Lz1+pJOwxq2NZWCW5lQZHAv2XYIWJyTABZoNbrJt/PdUllmF0blA3yKN8dOsUCOoJb77Qxw==","signatures":[{"sig":"MEUCIBT9ss4G8sBFpxrngKTBl6vN7XEwvYkY3hyHE+AfH086AiEAkEOS3SVg1XWiv72FGS784HSTlB/5G5FHiFJnd5XPedU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22580},"main":"lib/api.js","engines":{"node":">=8.0.0"},"gitHead":"b41614cbc9f1fc928c92182e6c265e6ca2603970","scripts":{"test":"node test/test.js","test:unit":"mocha test/unit/*.test.js","postinstall":"rm -rf node_modules/@aws-sdk/client-s3 node_modules/@aws-sdk/client-cloudfront","test:coverage":"nyc mocha test/unit/*.test.js"},"_npmUser":{"name":"axeptiotech","email":"tech@axeptio.eu"},"overrides":{"ip":">=2.0.1","tar":">=6.2.1","braces":">=3.0.3","semver":">=7.5.4","flatted":">=3.3.3","minimist":">=0.2.4","minimatch":">=9.0.5","cross-spawn":">=7.0.5","fast-xml-parser":">=4.5.4"},"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"_npmVersion":"9.6.2","description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","directories":{},"_nodeVersion":"22.22.3","_hasShrinkwrap":false,"devDependencies":{"nyc":"^18.0.0","mocha":"^5.2.0","dotenv":"^16.3.1","eslint":"^8.13.0","prettier":"^2.7.1","random-words":"^1.1.0","eslint-plugin-n":"^15.2.0","prettier-eslint":"^15.0.1","semantic-release":"^21.0.0","@aws-sdk/client-s3":"^3.958.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.26.0","@semantic-release/git":"^10.0.1","eslint-config-axeptio":"^1.0.0","eslint-plugin-indexof":"^0.1.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","@aws-sdk/client-cloudfront":"^3.958.0","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"@aws-sdk/client-s3":"^3.958.0","@aws-sdk/client-cloudfront":"^3.958.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-cloudfront-static-deploy_2.5.0_1780570084517_0.051287994363205414","host":"s3://npm-registry-packages-npm-production"}},"2.6.0":{"name":"@axeptio/s3-cloudfront-static-deploy","version":"2.6.0","keywords":["s3","aws","cloudFront"],"author":{"name":"Axeptio"},"license":"MIT","_id":"@axeptio/s3-cloudfront-static-deploy@2.6.0","maintainers":[{"name":"romainbessuges","email":"romainbessuges@gmail.com"},{"name":"axeptiotech","email":"tech@axeptio.eu"},{"name":"a_ng_d_axeptio","email":"aurelien.grimaud@axeptio.eu"},{"name":"pleberre","email":"philippe.leberre@axeptio.eu"},{"name":"luisfl-axeptio","email":"luis.flores.externe@axeptio.eu"},{"name":"javier.costa-axeptio","email":"javier.costa@axeptio.eu"},{"name":"matheuscavinax","email":"matheus.cavinato@axeptio.eu"}],"contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"nyc":{"all":true,"lines":95,"include":["lib/**/*.js"],"branches":95,"reporter":["text","lcov"],"functions":95,"statements":95,"check-coverage":true},"dist":{"shasum":"d5f28b5b07cd798dbd9f96de3ca95453f462c43c","tarball":"https://registry.npmjs.org/@axeptio/s3-cloudfront-static-deploy/-/s3-cloudfront-static-deploy-2.6.0.tgz","fileCount":6,"integrity":"sha512-1Vc1jp791dy1T3Rl1qFOlYuPJdJZ1mV7kHvIsTpZph14tVm0N3p90H9ijfTP+9myzgNUWer0EzXy5etWZf1QfA==","signatures":[{"sig":"MEQCIGJT9SQFirCIFrVp130MDtnVms8TbTypE9fQyxp3Tdk0AiBoF5soxA7ZByWxBtBfAp2bzWbwAFEqdT+owinuLpeCqQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIC6tUOzXSsYENryBJJCrVdkiqCreA/UiOSjSVszqdjAaAiAatvLey5omeDzVTgcWwgWqB8+g9KMH4b77/P9Kgt3M/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24115},"main":"lib/api.js","engines":{"node":">=8.0.0"},"gitHead":"76275bb709bc9633c24b486a6c7dfa75dbd200f5","scripts":{"test":"node test/test.js","test:unit":"mocha test/unit/*.test.js","postinstall":"rm -rf node_modules/@aws-sdk/client-s3 node_modules/@aws-sdk/client-cloudfront","test:coverage":"nyc mocha test/unit/*.test.js"},"_npmUser":{"name":"axeptiotech","email":"tech@axeptio.eu"},"overrides":{"ajv":"^6.14.0","tar":">=6.2.1","diff":"^3.5.1","braces":">=3.0.3","lodash":"^4.18.0","semver":">=7.5.4","flatted":">=3.3.3","js-yaml":"^4.3.1","minimist":">=0.2.4","lodash-es":"^4.18.0","minimatch":">=9.0.5","picomatch":"^2.3.2","handlebars":"^4.7.9","micromatch":"^4.0.8","cross-spawn":">=7.0.5","browserslist":"^4.28.7","brace-expansion":"^5.0.9","fast-xml-parser":">=4.5.4","hosted-git-info":"^2.8.9","@istanbuljs/load-nyc-config":{"js-yaml":"^3.15.1"}},"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"_npmVersion":"10.9.8","description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","directories":{},"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"devDependencies":{"nyc":"^18.0.0","mocha":"^5.2.0","dotenv":"^16.3.1","eslint":"^8.13.0","prettier":"^2.7.1","random-words":"^1.1.0","eslint-plugin-n":"^15.2.0","prettier-eslint":"^15.0.1","@aws-sdk/client-s3":"^3.958.0","eslint-plugin-node":"^11.1.0","eslint-plugin-import":"^2.26.0","eslint-config-axeptio":"^1.0.0","eslint-plugin-indexof":"^0.1.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^17.0.0","eslint-plugin-prettier":"^4.0.0","@aws-sdk/client-cloudfront":"^3.958.0"},"peerDependencies":{"@aws-sdk/client-s3":"^3.958.0","@aws-sdk/client-cloudfront":"^3.958.0"},"_npmOperationalInternal":{"tmp":"tmp/s3-cloudfront-static-deploy_2.6.0_1790755455572_0.4924710452563894","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2023-03-29T14:52:03.435Z","modified":"2026-09-30T09:37:31.940Z","1.0.0":"2023-03-29T14:52:03.586Z","1.0.1":"2023-03-29T14:56:15.975Z","1.0.2":"2023-04-06T15:03:43.955Z","1.1.0":"2023-08-25T12:30:53.086Z","2.0.0":"2023-08-25T12:37:46.892Z","2.0.1":"2023-08-30T09:25:26.676Z","2.3.0":"2026-03-05T15:31:56.900Z","2.4.0":"2026-03-05T15:43:24.862Z","2.5.0":"2026-06-04T10:48:04.679Z","2.6.0":"2026-09-30T08:04:15.672Z"},"bugs":{"url":"https://github.com/axeptio/s3-cloudfront-static-deploy/issues"},"author":{"name":"Axeptio"},"license":"MIT","homepage":"https://github.com/axeptio/s3-cloudfront-static-deploy#readme","keywords":["s3","aws","cloudFront"],"repository":{"url":"git+https://github.com/axeptio/s3-cloudfront-static-deploy.git","type":"git"},"description":"Simple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.","contributors":[{"url":"https://github.com/Olivier-Malige","name":"Olivier Malige","email":"omalige@gmail.com"}],"maintainers":[{"name":"romainbessuges","email":"romainbessuges@gmail.com"},{"name":"axeptiotech","email":"tech@axeptio.eu"},{"name":"a_ng_d_axeptio","email":"aurelien.grimaud@axeptio.eu"},{"name":"pleberre","email":"philippe.leberre@axeptio.eu"},{"name":"luisfl-axeptio","email":"luis.flores.externe@axeptio.eu"},{"name":"javier.costa-axeptio","email":"javier.costa@axeptio.eu"},{"name":"matheuscavinax","email":"matheus.cavinato@axeptio.eu"}],"readme":"# S3 CloudFront static deploy\n\nSimple node API for rapid file deployment (like JSON or other) in an AWS S3 bucket with cloudFront invalidation, versioning and rollback.\n\n## :rocket: Installation\n\n> npm i @axeptio/s3-cloudfront-static-deploy\n\nFor the moment you have to create and configure your bucket authorization and cloudfront from AWS\n\n## :gear: API\n\n### Parameters\n\n#### AWS Clients\n\nInstead of instanciating its own S3 and CloudFront clients, this package requires you to pass yours as the first parameter of every API functions. For example:\n\n```javascript\nconst AWS = require('aws-sdk');\nconst clients = {\n  s3: new AWS.S3(),\n  cloudfront: new AWS.CloudFront()\n};\npublishFile(clients, options);\n```\n\n#### Options\nThe second parameter of the functions are the options required to execute this specific job. Documented in JSDoc.\n\nEvery function that triggers a CloudFront invalidation (`invalidateFile`, `invalidateFiles`, `publishFile`, `publishFiles`, `rollbackFile`, `rollbackFiles`) also accepts:\n\n- `skipInvalidationCheck` (boolean, default `false`) — when `true`, the invalidation request is sent without waiting for it to propagate to the CloudFront edge caches (no completion polling).\n- `maxAttempts` (number, default `300`) — maximum completion-polling attempts, one every 2 seconds (default: 10 minutes). Ignored when `skipInvalidationCheck` is `true`.\n\n`publishFile` and `publishFiles` additionally accept `skipInvalidation` (boolean, default `false`) to skip the CloudFront invalidation entirely.\n\n`putFile`, `publishFile` and `publishFiles` accept an optional `cacheControl` (string). When set, it is stored as the object's `Cache-Control` header on S3 (applied to every file for `publishFiles`); when unset or an empty string, no `Cache-Control` header is sent, as before. It does not change the CloudFront invalidation.\n\nEach upload replaces the object's metadata on S3, so re-publishing a file without `cacheControl` removes a `Cache-Control` header stored by an earlier publish. Pass it on every publish of files that need it.\n\n```javascript\npublishFile(clients, {\n  bucket: 'my-bucket',\n  distributionId: 'E123ABC',\n  filename: 'sdk/1.2.3/sdk.js',\n  content,\n  contentType: 'text/javascript',\n  cacheControl: 'public, max-age=31536000, immutable'\n});\n```\n\n#### Event Handlers\n\nDue to their async nature, functions of this lib return only promises. When completed, a function will resolve, and in any erroneous case, it will reject. If you need extra control over the execution flow, (especially when there are several steps), you can use the `onEvent` param that is always the last parameter of the function call.\n\n```javascript\npublishFile(clients, options, event => {\n  console.log(event.type); // \"success\" / \"error\" / \"info\" / \"progress\"\n  console.log(event.method); // \"invalidateFile\"\n  console.log(event.message); // \"successfully invalidated the file\"\n});\n```\n\n#### Available functions\n\n- `enableVersioning` Enabled or suspended versionning of a bucket. Options are: `bucket`, `isEnabled`\n- `publishFile` Create/update and invalidate file for cloudfront deploying. (tested only with a JSON stringify)\n- `publishFiles` Create/update and invalidate files for cloudfront deploying. (tested only with a JSON stringify)\n- `rollbackFile` Mark deleted the lasted version of a file in a bucket and invalidate on cloudfront.\n- `rollbackFiles` Mark deleted the lasted version of files in a bucket and invalidate on cloudfront.\n- `listFileVersions` List all versions of a file in a bucket.\n- `putFile` Create or update a file in a bucket. (tested only with a JSON stringify)\n- `deleteFile` Apply deleted mark on a last version of a file in a bucket.\n- `deleteFiles` Apply deleted mark on last version of files in a bucket.\n- `invalidateFile` Invalidate file in cloudfront for deploying\n- `invalidateFiles` Invalidate files in cloudfront for deploying\n\n## :eyes: Testing\n\nYou can test the deploying with sending a Json with random data (words)\n\n```sh\nexport BUCKET_NAME=${S3BucketName} DISTRIBUTION_ID=${CloudFrontDistributionID} && npm run test\n```\n","readmeFilename":"README.md"}