{"_id":"@aptoma/sqs-consumer","_rev":"5-9a525434bf9a08e7db9ec941b04666fa","name":"@aptoma/sqs-consumer","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"@aptoma/sqs-consumer","version":"1.0.0","author":{"name":"Martin Jonsson","email":"martin@aptoma.com"},"license":"MIT","_id":"@aptoma/sqs-consumer@1.0.0","maintainers":[{"name":"aptoma","email":"npm@aptoma.com"}],"homepage":"https://github.com/aptoma/sqs-consumer#readme","bugs":{"url":"https://github.com/aptoma/sqs-consumer/issues"},"dist":{"shasum":"a13df55b2b3f54fed89be6fa3c1d7ca7b24dfb0c","tarball":"https://registry.npmjs.org/@aptoma/sqs-consumer/-/sqs-consumer-1.0.0.tgz","fileCount":8,"integrity":"sha512-nlnaS4IK9cQyImgKnB7zOYQpezpOQdwTaedomvwpXBLgOlKGhCeyCK1Fix1qcUDeW0xAZCgnA44a0oTyMopFCQ==","signatures":[{"sig":"MEUCIQDMWEeD+/lKtaJjy4OJ730KRV9gKgS7uu7ADfve2wZ1OAIgfFFziq7lB3ufx3ZWJkAPOquu1yQ/e+lEf608Jn0RGLc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJbtnCRA9TVsSAnZWagAAzS8QAJFMyMieqhJixYeDNuYA\nygubkpwtQ257jPEI+Po22LPliWOHRzjLtEGzJEeJs+YmX+Tp/UsV4a/B8uH3\npS449xTPYqvmlqLBPXiHDaegQwy5kPokwA5QGZJuNJOyXrsyiVYRFF4rrPAX\nT8M/jiBGG+p0PWJxjxgoXOnEQ7u4p6RyPWZtEiM4ube9KPEg1lqmKkVyTn+L\n/vTpDRfHNCMkB18GR6Iqkxqu5jO/q9xAlaQTty09OEKDlQWG7rvgA7K6CWDs\n91dRorABeYEhHYx3SX0i3fIgqDEWREyxyFbOu5+TRmwzk+UflsXpWfHu3uq/\ntXADTTp2EJ7q9KFrnt8cNOJZOb+y9auh5bY7kQNuw/1WyjU3KrS0xHwboBaT\ntHL8vS+X8z5fJ9KYMIbd8CfhudA4KFEC8Ozdak97KXBhvuQkVU8O9r0v3baO\nkDmnt/O7Hz2t0f3M8RjPVnNE4R8HYSp8M8/f5vIxC/N5sY81R+p6b5PpPKcH\nrT+NgAKCTyOMvYMB3pBSZ7/ATOsfDSU+zklGRNLzyhrTxIqZmgfYWKixGPu+\nuRs90TJ4OsezudsMkXevflsyh6avccgdDumtwYnQKlWXWZXvn5yv5qqosNol\nCiNjJp1Cw+7KBRG+G0EJsFHZUgOqJ6qR+kDjRfvyjxjz5JZwxDUnve2ntKqt\nJ/Tb\r\n=+AHR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"ce8e40ef654592e23958047c1bbbc5458c30a2f7","scripts":{"lint":"eslint index.js test","test":"npm run lint && NODE_ENV=test nyc --reporter=text-summary --reporter=lcov mocha --exit --timeout 3000 'test/**/*.test.js' 'test/**/*.test.js'","watch":"NODE_ENV=test mocha --watch 'test/**/*.js' --timeout 500","release":"npm run test && release-it -n -i patch","release:major":"npm run test && release-it -n -i major","release:minor":"npm run test && release-it -n -i minor"},"_npmUser":{"name":"aptoma","email":"npm@aptoma.com"},"repository":{"url":"git+https://github.com/aptoma/sqs-consumer.git","type":"git"},"_npmVersion":"6.4.1","description":"AWS SQS consumer","directories":{},"_nodeVersion":"10.15.3","dependencies":{"aws-sdk":"^2.490.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^13.3.0","chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.3.2","eslint":"^5.14.1","release-it":"^10.1.0","eslint-plugin-mocha":"^5.3.0","@aptoma/eslint-config":"^7.0.1"},"_npmOperationalInternal":{"tmp":"tmp/sqs-consumer_1.0.0_1562753894849_0.6316604301654039","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@aptoma/sqs-consumer","version":"2.0.0","author":{"name":"Martin Jonsson","email":"martin@aptoma.com"},"license":"MIT","_id":"@aptoma/sqs-consumer@2.0.0","maintainers":[{"name":"aptoma","email":"npm@aptoma.com"}],"homepage":"https://github.com/aptoma/sqs-consumer#readme","bugs":{"url":"https://github.com/aptoma/sqs-consumer/issues"},"dist":{"shasum":"1fa07f63b5ad68529a561ebe55ce4cfb28ab1daa","tarball":"https://registry.npmjs.org/@aptoma/sqs-consumer/-/sqs-consumer-2.0.0.tgz","fileCount":8,"integrity":"sha512-/cCsity14JTtLIuPIsoo8RE0kXsY11k72iEThtOF2lfwHiMCRpYCbkQrd5YAqFuZW6Qc0rvSoj+sw/yHxv5nhA==","signatures":[{"sig":"MEUCIQDYRP/xhmMeNMY6ALhKFYJ0fdDmc5vJBqICQ+U3W4GqBAIgDDgoLrP72O8bfaCqwNbLnpWrRUtfqMju+4xQpm9lBG0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiGPq2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr5hQ/9EP17UkJk8zo/Q2BZvqdIp1v48uUpcZQy7eiAsqm+/jhSPtZ7\r\n3s3HWTMoRHtt2vDwbBZwlflIWlGA65zBH2Y3qz5kbTgJbrJ8SjKFH2kyCOzr\r\ngaGFIacDHGqvfuEfqY9vDb7763P3FRxfgoTyMmNVrdGQU1MOVlfmkwS/19Wl\r\nQ/VSehe/NicDMA4RlIxWk67AzAqdKzlkYgL/zWayoI/xrGDVe9QpUi0mbab3\r\n9mqf0QdikaXROzvaqpNpSxOP0yiag4JCtURPk/lCKAPh1Sj7btpj9C1teoFR\r\nban5O6b3ci5cBeT5vFtuTA2CrGFYxIC+usH1f7luFMtcmVbhXhlLmV2rmDKO\r\n6IxShOhFTB7ON1+6+iyRyLLxh1PaU7PHj5Qrdufmg34aMDdyzd1b/6G5EtpF\r\nBNRR1yQ3koFt0anWP49I1yc0Hx0YINti1H/qB7xSeve+t1Y7YsxvbDKL6UeT\r\nsgcKpqEhdKvLLKfYRKc45P1kaqb924j5+zybt1pMppO6HGOXF5e7G/GuKyCq\r\nYGnoOStBtn7/9zwARFdXom7oOfJ89ACZrEx+NbmIQlllV0pTcSrL4yRRyxm3\r\nOPgLHgaqpmlstdbYWpnaoEc/T6CA5R/ICwoF8wBrOKknzExymK8lwHTk/U2x\r\nAjReArV42Suy1gNsnGqbBK/PbCYGysVEWrk=\r\n=ovmY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"e816beb2153398740aa4e37ac164c3d0401d8938","scripts":{"lint":"eslint index.js test","test":"npm run lint && NODE_ENV=test nyc --reporter=text-summary --reporter=lcov mocha --exit --timeout 3000 'test/**/*.test.js' 'test/**/*.test.js'","watch":"NODE_ENV=test mocha --watch 'test/**/*.js' --timeout 500","release":"npm run test && release-it -n -i patch","release:major":"npm run test && release-it -n -i major","release:minor":"npm run test && release-it -n -i minor"},"_npmUser":{"name":"aptoma","email":"npm@aptoma.com"},"repository":{"url":"git+https://github.com/aptoma/sqs-consumer.git","type":"git"},"_npmVersion":"8.1.4","description":"AWS SQS consumer","directories":{},"_nodeVersion":"16.13.0","dependencies":{"aws-sdk":"^2.1074.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.6","mocha":"^9.2.0","sinon":"^13.0.1","eslint":"^8.9.0","release-it":"^10.1.0","eslint-plugin-mocha":"^10.0.3","@aptoma/eslint-config":"^7.0.1"},"_npmOperationalInternal":{"tmp":"tmp/sqs-consumer_2.0.0_1645804213924_0.4372528205906969","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@aptoma/sqs-consumer","version":"2.0.1","author":{"name":"Martin Jonsson","email":"martin@aptoma.com"},"license":"MIT","_id":"@aptoma/sqs-consumer@2.0.1","maintainers":[{"name":"aptoma","email":"npm@aptoma.com"}],"homepage":"https://github.com/aptoma/sqs-consumer#readme","bugs":{"url":"https://github.com/aptoma/sqs-consumer/issues"},"dist":{"shasum":"8bdf999cf6bcc6c74783cc4bc52dfdb873e2a903","tarball":"https://registry.npmjs.org/@aptoma/sqs-consumer/-/sqs-consumer-2.0.1.tgz","fileCount":8,"integrity":"sha512-lKO2syOrUQmuDxOKEdKaUDV/dMZZ14X9KQhVOVv03GVk3lkenuaC+L396kH2oDwYvrK1VrD5NU/JbsTH/9dBcA==","signatures":[{"sig":"MEYCIQC9GZaSHTDvwhGKXDYr9u6o2UPPUujiPfS+SzZMXzTz9AIhAIQaH1n86qIjglImImVFHCk+zr45wx97uEIbOmQMD30h","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8626,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRDfLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrU9A//d89L/sSi1kxe4rrpj9j5Rg5u4TmzXDLZMb420ox1BYYAUWRU\r\nXS14MyScm2tgxNUNqQAhuGrZOTV2qOe5Z+tN/z9fgVtCjBbilnKVuHjl5h40\r\nvPpdZV4SsZeLVSiRPUVVUS0N3JVGkg/DJilncnTcf2XvmyfWwCritvOqQNEw\r\nvkdFSduHHQy3DuCwsoG9WdYJPJWeM3zuz2LeZHGAaBQYwpU9Hu1vOmbnSJg6\r\n2PX0TkVkmrSf6JvNEpAv5XW3msPqadGOuEqiaHjRJw66HJPBOQ/lXsQZ74nR\r\nUnMcvXqcEdKUUJjZdbp60N1/GS/almdldUneZE2DXT21oN7th4cGLGZDcPAr\r\nbyQyX3Xo3/Mx19MS3Ps5itdpG8NndB1aD9UPwEpjJCVJu6qJFN37gpOO6w1r\r\nz3Psn8qan/fT9CTbADruGA4Cxw0OvQB64kTqIKlm/OPMzZmjQTBPnUcI4bIz\r\n9zPhqp4Nn7f/5GC3lQUIyLuMWIjoJ0lGuAxlk+T8YXugxgoiSjBsGcJQbPQS\r\nIvSokn+xElwPZFgKGt0jB2B3/AwWo7k/Xiwb/fZICximimJDvTXQ0bLQ8Uag\r\n35sVKalhlj6Ly3fO0UhkzedEQDbEpPpPqz83krKUV6WVhGUCwftp839kK+uP\r\nAB0jHAi6ooDgw/anyhChL9kAt8on0UvEN3s=\r\n=AeEs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"02c5542d21fcbd84d099880b972c39fec9cbb406","scripts":{"lint":"eslint index.js test","test":"npm run lint && NODE_ENV=test nyc --reporter=text-summary --reporter=lcov mocha --exit --timeout 3000 'test/**/*.test.js' 'test/**/*.test.js'","watch":"NODE_ENV=test mocha --watch 'test/**/*.js' --timeout 500","release":"npm run test && release-it -n -i patch","release:major":"npm run test && release-it -n -i major","release:minor":"npm run test && release-it -n -i minor"},"_npmUser":{"name":"aptoma","email":"npm@aptoma.com"},"repository":{"url":"git+https://github.com/aptoma/sqs-consumer.git","type":"git"},"_npmVersion":"8.1.0","description":"AWS SQS consumer","directories":{},"_nodeVersion":"16.13.0","dependencies":{"aws-sdk":"^2.1074.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.6","mocha":"^9.2.0","sinon":"^13.0.1","eslint":"^8.9.0","release-it":"^10.1.0","eslint-plugin-mocha":"^10.0.3","@aptoma/eslint-config":"^7.0.1"},"_npmOperationalInternal":{"tmp":"tmp/sqs-consumer_2.0.1_1648637899297_0.5354066760560281","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@aptoma/sqs-consumer","version":"2.1.0","author":{"name":"Martin Jonsson","email":"martin@aptoma.com"},"license":"MIT","_id":"@aptoma/sqs-consumer@2.1.0","maintainers":[{"name":"aptoma","email":"npm@aptoma.com"}],"homepage":"https://github.com/aptoma/sqs-consumer#readme","bugs":{"url":"https://github.com/aptoma/sqs-consumer/issues"},"dist":{"shasum":"ad0c981a8d33fc4517d27e311e0182a8e807ec94","tarball":"https://registry.npmjs.org/@aptoma/sqs-consumer/-/sqs-consumer-2.1.0.tgz","fileCount":8,"integrity":"sha512-EQn0wxTgrdpVxeu7Fbr74PLE+xXllGt4iAGCXGlmo4PyJ5wWnUfb4b6eKIKLHaWvDo96ggpBrbeJPfwLRIsExg==","signatures":[{"sig":"MEUCIQCogHy3YpCWT22FXemWgNQ9qIPacA1aIIAQbU3eyYfBewIgQPr33KLfib409v/HvyqU+Pdm7nRszCKKC4DGTh4VoHs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjO+XJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1FA/+NEG5y3/m3UHzv5lwiU8uXDeqq22xw8atL2nty+XtNDa+U+eT\r\nqShwR9dUN67hrP25Ogh60aq6Pbtz8dwbvtPYLAulXG7CMwRTjO7QTEnN0dvm\r\nxVtA0KOAVv8Wjas+G0q2cOrXKpebiHqzmx0RSxbPFm9NF4UcwGxbBKLjeGKQ\r\nz2K+SIaYfoZKhT1yOvkP0KRISQFJRlFMGrnhcjgO5gGMR9S3dXxbWea4cAqY\r\nrbCx1jsJmHcadPTQ4yh3WlIpGLVmirhK0zdUq5EzBKmV4SViAA9tf1Gyg5d5\r\n5FjdfZzGH/LB4uEtYm3RlApETJ+s2+K9owgpmx+fW9AmtU7ePKl6jQePUL0O\r\nnhb8Mj/2Op+p5d+exMS4aMVPMmyNFmQLCHhYE9osTXtKi/eLGuctpL4APZyW\r\n76CaDwjiTgBwJ0Hsj8jq69cQdusWvpI6wMiirk9XNEUJ6EG42nEtlWIqQ2kY\r\nEy1O7BPrqr7IEzSbeqVNA2j0A14JUOeQY7r3JaZfjI5+LJZnWKVuA4qskLQl\r\n2BBJHS55qcDhG43uSCT9Dc41faZ91/suYckLtKxMT6Q4opq9TOTQVx1FYp1q\r\nWXTGZSWIvDWDX8sMWHQW8QIjNmHz1hiHvFz3LkOVynSbbvSOge2VMVSYrVq4\r\nlUa+b/iS2EEjTI+MWvt7pTC6C3TkuUv4twM=\r\n=anFm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"a749e9e874b3f905eb7db00b8a757f08315622b2","scripts":{"lint":"eslint index.js test","test":"npm run lint && NODE_ENV=test nyc --reporter=text-summary --reporter=lcov mocha --exit --timeout 3000 'test/**/*.test.js' 'test/**/*.test.js'","watch":"NODE_ENV=test mocha --watch 'test/**/*.js' --timeout 500","release":"npm run test && release-it -n -i patch","release:major":"npm run test && release-it -n -i major","release:minor":"npm run test && release-it -n -i minor"},"_npmUser":{"name":"aptoma","email":"npm@aptoma.com"},"repository":{"url":"git+https://github.com/aptoma/sqs-consumer.git","type":"git"},"_npmVersion":"8.1.0","description":"AWS SQS consumer","directories":{},"_nodeVersion":"16.13.0","dependencies":{"aws-sdk":"^2.1074.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.6","mocha":"^9.2.0","sinon":"^13.0.1","eslint":"^8.9.0","release-it":"^10.1.0","eslint-plugin-mocha":"^10.0.3","@aptoma/eslint-config":"^7.0.1"},"_npmOperationalInternal":{"tmp":"tmp/sqs-consumer_2.1.0_1664869832837_0.1613897197569627","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@aptoma/sqs-consumer","version":"3.0.0","description":"AWS SQS consumer","main":"index.js","scripts":{"type-check":"npx -p typescript tsc --allowJs --checkJs --noEmit --target es2022 -m nodenext --strictNullChecks --strictFunctionTypes index.js","lint":"eslint index.js test","watch":"NODE_ENV=test mocha --watch 'test/**/*.js' --timeout 500","test":"npm run lint && npm run type-check && NODE_ENV=test nyc --reporter=text-summary --reporter=lcov mocha --exit --timeout 3000 'test/**/*.test.js' 'test/**/*.test.js'","release":"npm run test && release-it -n -i patch","release:minor":"npm run test && release-it -n -i minor","release:major":"npm run test && release-it -n -i major"},"repository":{"type":"git","url":"git+https://github.com/aptoma/sqs-consumer.git"},"author":{"name":"Martin Jonsson","email":"martin@aptoma.com"},"license":"MIT","bugs":{"url":"https://github.com/aptoma/sqs-consumer/issues"},"homepage":"https://github.com/aptoma/sqs-consumer#readme","devDependencies":{"@aptoma/eslint-config":"^8.0.0","auto-changelog":"^2.5.0","aws-sdk-client-mock":"^4.1.0","chai":"^4.3.10","eslint":"^8.50.0","eslint-plugin-mocha":"^10.5.0","mocha":"^11.1.0","nyc":"^15.1.0","release-it":"^18.1.2","sinon":"^19.0.2","typescript":"^5.7.3"},"dependencies":{"@aws-sdk/client-sqs":"^3.734.0"},"_id":"@aptoma/sqs-consumer@3.0.0","gitHead":"23c217dd35f966ccd01751a2d1f7800c11e75354","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-weY3UbM2zedozudqDJDut0yg3Kxco4VVyQBFYPk6NJd4dO2suQLLAO6mGFbNqOQy0ZTxrSvzB8wHbUI8W3/SpQ==","shasum":"27c2c8a78e145546068935537911383586b08a76","tarball":"https://registry.npmjs.org/@aptoma/sqs-consumer/-/sqs-consumer-3.0.0.tgz","fileCount":11,"unpackedSize":15347,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDNixkcKwhYEGKDnZ68FUa8xyglYnbH2UNMsZDUAReSsAIhAL8C5uoiLgJQsePDt+BTpeGWIIjSCVHLcKlEfp9RZZST"}]},"_npmUser":{"name":"aptoma","email":"npm@aptoma.com"},"directories":{},"maintainers":[{"name":"aptoma","email":"npm@aptoma.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sqs-consumer_3.0.0_1738069250742_0.4905216223361337"},"_hasShrinkwrap":false}},"time":{"created":"2019-07-10T10:18:14.849Z","modified":"2025-01-28T13:00:51.200Z","1.0.0":"2019-07-10T10:18:14.972Z","2.0.0":"2022-02-25T15:50:14.092Z","2.0.1":"2022-03-30T10:58:19.399Z","2.1.0":"2022-10-04T07:50:33.145Z","3.0.0":"2025-01-28T13:00:51.000Z"},"bugs":{"url":"https://github.com/aptoma/sqs-consumer/issues"},"author":{"name":"Martin Jonsson","email":"martin@aptoma.com"},"license":"MIT","homepage":"https://github.com/aptoma/sqs-consumer#readme","repository":{"type":"git","url":"git+https://github.com/aptoma/sqs-consumer.git"},"description":"AWS SQS consumer","maintainers":[{"name":"aptoma","email":"npm@aptoma.com"}],"readme":"# SQS Consumer\n\nModule for consuming AWS SQS queue.\n\nInspired by https://github.com/bbc/sqs-consumer but allows `batchSize` to be higher than 10\n\n# Example\n\n```javascript\n\nconst Consumer = require('@aptoma/sqs-consumer');\nconst app = new Consumer({\n\tqueueUrl: 'https://sqs.eu-central-1.amazonaws.com/....',\n\tbatchSize: 15,\n\twaitTimeSeconds: 10,\n\taws: {\n\t\tregion: 'eu-central-1'\n\t},\n\tasync handleMessage(message, cb) {\n\t\tconsole.log(message);\n\t\tawait doSometing(message);\n\t\tcb();\n\t}\n});\n\napp.on('error', console.error);\n\n(async () => {\n\tawait app.start();\n})();\n\n```\n","readmeFilename":"README.md"}