{"id":15413685,"url":"https://github.com/lucacasonato/deno_sqs","last_synced_at":"2025-04-19T11:57:04.890Z","repository":{"id":44727452,"uuid":"280265997","full_name":"lucacasonato/deno_sqs","owner":"lucacasonato","description":"Amazon SQS for Deno","archived":false,"fork":false,"pushed_at":"2022-07-26T15:54:37.000Z","size":42,"stargazers_count":6,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-19T19:16:00.481Z","etag":null,"topics":["aws","deno","sqs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucacasonato.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-16T21:51:41.000Z","updated_at":"2022-02-14T18:27:44.000Z","dependencies_parsed_at":"2022-09-13T19:00:32.604Z","dependency_job_id":null,"html_url":"https://github.com/lucacasonato/deno_sqs","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucacasonato%2Fdeno_sqs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucacasonato%2Fdeno_sqs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucacasonato%2Fdeno_sqs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucacasonato%2Fdeno_sqs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucacasonato","download_url":"https://codeload.github.com/lucacasonato/deno_sqs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241421184,"owners_count":19960241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","deno","sqs"],"created_at":"2024-10-01T16:58:31.402Z","updated_at":"2025-03-01T20:31:19.362Z","avatar_url":"https://github.com/lucacasonato.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deno_sqs\n\n[![deno doc](https://doc.deno.land/badge.svg)](https://doc.deno.land/https/deno.land/x/sqs@0.3.7/mod.ts)\n\nAmazon SQS for Deno\n\n\u003e ⚠️ This project is work in progress. Expect breaking changes.\n\n## Examples\n\n```ts\nimport { SQSQueue } from \"https://deno.land/x/sqs@0.3.7/mod.ts\";\n\n// Create a queue using the queue url and credentials\nconst queue = new SQSQueue({\n  queueURL: \"https://sqs.us-east-2.amazonaws.com/123456789012/MyQueue/\",\n  accessKeyID: Deno.env.get(\"AWS_ACCESS_KEY_ID\")!,\n  secretKey: Deno.env.get(\"AWS_SECRET_ACCESS_KEY\")!,\n  region: \"us-east-2\",\n});\n\n// Send a message to this queue and print the message ID.\nconst res = await queue.sendMesssage({ body: \"Hello World!\" });\nconsole.log(\"Sent message with id \", res.messageID);\n\n// Receive a message from the queue:\nconst { messages } = await queue.receiveMessage();\nfor (const message of messages) {\n  console.log(\"Recieved message \", message.messageID, \"and body\", message.body);\n\n  // Delete the message after receiving it\n  await queue.deleteMessage(message.receiptHandle);\n}\n```\n\n## Contributing\n\nTo run tests you need to have a S3 bucket you can talk to. For local development\nyou can use min.io to emulate an S3 bucket:\n\n```\nexport AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE\nexport AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\ndocker-compose up -d\naws --endpoint-url \"http://localhost:9324\" sqs create-queue --queue-name test --region us-east-1 --attributes VisibilityTimeout=0\ndeno test --allow-net --allow-env\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacasonato%2Fdeno_sqs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucacasonato%2Fdeno_sqs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacasonato%2Fdeno_sqs/lists"}