{"_id":"@purple/serverless-s3-remover","_rev":"82-1220bd109b5de612829ba6c3414607e6","name":"@purple/serverless-s3-remover","dist-tags":{"latest":"0.7.0"},"versions":{"0.7.0":{"name":"@purple/serverless-s3-remover","version":"0.7.0","author":{"url":"workspace","name":"sinofseven","email":"luciferous.development@gmail.com"},"license":"MIT","_id":"@purple/serverless-s3-remover@0.7.0","maintainers":[{"name":"jancervinka","email":"cervinkah@gmail.com"},{"name":"xurban42","email":"xurban42@gmail.com"},{"name":"tomzaoral","email":"zaoraltomas88@gmail.com"},{"name":"ahoyahoy","email":"tom@sayahoyahoy.com"}],"contributors":[{"url":"https://www.purple-technology.com/","name":"Filip Pýrek","email":"fpyrek@purple-technology.com"},{"url":"https://www.purple-technology.com/","name":"Pavol Jediny","email":"pjediny@purple-technology.com"}],"homepage":"https://github.com/purple-technology/serverless-s3-remover#readme","bugs":{"url":"https://github.com/purple-technology/serverless-s3-remover/issues"},"dist":{"shasum":"4b48162f374418f1cd9ccc5300eee86ae4a28d9c","tarball":"https://registry.npmjs.org/@purple/serverless-s3-remover/-/serverless-s3-remover-0.7.0.tgz","fileCount":4,"integrity":"sha512-9FWtB8cvhker4dKJIvSnJXVFfJXOEifjXQ2SxkfsHdEqZizmdn3aI9v5EPkGty3RguooByV9OemBeXKVfaO2lA==","signatures":[{"sig":"MEYCIQC/6Lqe8O4Yv8keqwvY2ZtMRowVoutflMyPSMjMP9fY3QIhAKzUhl2A7n7sHrujne5R9zInMcCyTrJf9uKv5p5gkYVc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9792,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJecVg0CRA9TVsSAnZWagAArPsP/jO7pB0qru+KV2bXiutz\nVWXB3JLE000Of3jjclXevncTnMzH0rGYpOVgHQGu7G8PVdgGzVsoK1NMwnea\neAMhp6SgiIlvpV1OtFUm0WeYoo73DYJiJ4SWPmVWrUfMSemVrrgy9PbIaE1h\nS6/4nVQYP5fF2OSuTsFtRo/WAGNuBdVkMC8N68mBPsrknJNnh1wx4TtUmD74\nrPGYgK752g3BwT06ZcMPkoIMMwlxCS/GWJY6NltIF+EnNHw8htR0hsMj8GoG\nddkl8YVs4+whfRnj4sq+HW+UO4eZgoXlm+ks1y1RLRmUwcTAMfFQMmGqzI6/\nkWMGicxP2aZ9GzoR+Q6uA6e1dTvJpqFxWX+zBmdWnCpm8lkYNjmK6sxMN30q\nXwxW6zst/v09DOfn+2ZCgdMq/UdaFxaPPuIz/v+re9E5u3+PF4t8wT9AYc/b\nDCAfWuRdz94KIKZBSfLTaGnaB3knMEdUc0pFq4IZp5wS3PNfAK6FfE8KOXef\nmux92izWJnmD7uOFf6XcI1sHv/kpyBGlOOOqnQiy3dwwWC5XptUfvnM3sNfK\nMQy7APzroDkbrYpY6ex4IJTYoogQdVaPvOyhb6UG/dDVfNYbRnuO5okV6ON9\nZgfZrYmMWMC42HQZIWOhLVY1wk4icfZQVv7NCKoAKOebvFqMRckdgzuc2pDq\n7P1i\r\n=7y79\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"10e773e214819d2cd3befc1b637aad44c4be2796","_npmUser":{"name":"xurban42","email":"xurban42@gmail.com"},"repository":{"url":"git+ssh://git@github.com/purple-technology/serverless-s3-remover.git","type":"git"},"_npmVersion":"6.13.4","description":"Plugin for serverless to make buckets empty before remove.","directories":{},"_nodeVersion":"12.14.1","dependencies":{"chalk":"^2.1.0","prompt":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/serverless-s3-remover_0.7.0_1584486451632_0.4339358463809244","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-03-17T23:07:31.631Z","modified":"2026-09-25T11:47:39.006Z","0.7.0":"2020-03-17T23:07:31.723Z"},"bugs":{"url":"https://github.com/purple-technology/serverless-s3-remover/issues"},"author":{"url":"workspace","name":"sinofseven","email":"luciferous.development@gmail.com"},"license":"MIT","homepage":"https://github.com/purple-technology/serverless-s3-remover#readme","repository":{"url":"git+ssh://git@github.com/purple-technology/serverless-s3-remover.git","type":"git"},"description":"Plugin for serverless to make buckets empty before remove.","contributors":[{"url":"https://www.purple-technology.com/","name":"Filip Pýrek","email":"fpyrek@purple-technology.com"},{"url":"https://www.purple-technology.com/","name":"Pavol Jediny","email":"pjediny@purple-technology.com"}],"maintainers":[{"email":"xurban42@gmail.com","name":"xurban42"},{"email":"zaoraltomas88@gmail.com","name":"tomzaoral"},{"email":"vaclav.gabriel@gmail.com","name":"vaclavgabriel"},{"email":"cervinkah@gmail.com","name":"jancervinka"},{"email":"radovan.fekec@gmail.com","name":"fekecrad"},{"email":"p.jediny@gmail.com","name":"pjediny"},{"email":"xurban46@gmail.com","name":"xurban46"},{"email":"mkubicek@purple-technology.com","name":"mkubicekp"},{"email":"bsedlak@purple-technology.com","name":"bsedlak"},{"email":"stepanek.adam@gmail.com","name":"samuelg0rd0n"},{"email":"jmed@purple-technology.com","name":"jakubmed"},{"email":"jmedek@purple-technology.com","name":"jmedek"},{"email":"atesarova@purple-technology.com","name":"atesarova"},{"email":"porwoliktomas@gmail.com","name":"porwolikt"},{"email":"jzemek@purple-technology.com","name":"jzemek"},{"email":"zaklas.martin@gmail.com","name":"zakve"},{"email":"phendrych@purple-technology.com","name":"petrhendrych"},{"email":"lvrbova@purple-technology.com","name":"vrbajiva"},{"email":"mzadnik@purple-technology.com","name":"mzadnik-qa"},{"email":"akolomijec@purple-technology.com","name":"andrij.k"},{"email":"sfajfr@purple-technology.com","name":"sfajfr-purple"},{"email":"jvasatko@purple-technology.com","name":"jvasatko"},{"email":"mvokal@purple-technology.com","name":"hoothoot"},{"email":"olukasek@purple-technology.com","name":"olukasek"},{"email":"mbenes@purple-technology.com","name":"purple_benny"},{"email":"pavel.andrassi@gmail.com","name":"pavsimon"},{"email":"dchocholaty@purple-technology.com","name":"davidchocholaty"},{"email":"fszymanik@purple-technology.com","name":"filipszymanik"},{"email":"lab-platform@purple-technology.com","name":"lab-platform"},{"email":"jambroz@purple-technology.com","name":"johnny1998"}],"readme":"# @purple/serverless-s3-remover\n\nPlugin for serverless to make buckets empty before remove.\n\n## Original project\n\n[Original project](https://github.com/sinofseven/serverless-s3-remover) is not\nmaintained anymore, so we published this version under `@purple` organisation.\n\nMain difference between [`serverless-s3-remover`](https://www.npmjs.com/package/serverless-s3-remover) and [`@purple/serverless-s3-remover`](https://www.npmjs.com/package/@purple/serverless-s3-remover)\nis ability to empty buckets with enabled versioning.\n\n[`serverless-s3-remover`](https://www.npmjs.com/package/serverless-s3-remover) is not able to empty buckets with enabled versioning.\n\n# Usage\n\nRun next command.\n\n```bash\n$ npm install @purple/serverless-s3-remover\n```\n\nAdd to your serverless.yml\n\n```yaml\nplugins:\n  - \"@purple/serverless-s3-remover\"\n\ncustom:\n  remover:\n    buckets:\n      - my-bucket-1\n      - my-bucket-2\n```\n\nYou can specify any number of `bucket`s that you want.\n\nNow you can make all buckets empty by running:\n\n```bash\n$ sls s3remove\n```\n\n# When removing\n\nWhen removing serverless stack, this plugin automatically make buckets empty before removing stack.\n\n```sh\n$ sls remove\n```\n\n# Using Prompt\n\nYou can use prompt before deleting bucket.\n\n```yaml\ncustom:\n  remover:\n    prompt: true # default value is `false`\n    buckets:\n      - remover-bucket-a\n      - remover-bucket-b\n```\n\n![terminal.png](https://user-images.githubusercontent.com/57114/31264298-0896f1ec-aaa3-11e7-9a8e-86e3c3f34e23.png)\n\n# Populating the configuration object before using it\n\n```yaml\ncustom:\n  boolean:\n    true: true\n    false: false\n  remover:\n    prompt: ${self:custom.boolean.${opt:s3-remover-prompt, 'true'}}\n```\n\nI can use the command line argument `--s3-remover-prompt false` to disable the prompt feature.\n","readmeFilename":"README.md"}