{"id":22707177,"url":"https://github.com/tutv/httpmq","last_synced_at":"2026-04-20T03:01:57.658Z","repository":{"id":57686753,"uuid":"477626057","full_name":"tutv/httpmq","owner":"tutv","description":"RabbitMQ via HTTP in Node.js","archived":false,"fork":false,"pushed_at":"2022-04-12T08:15:36.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-20T08:15:54.744Z","etag":null,"topics":["amqp","nodejs","npm","npm-package","rabbitmq"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/httpmq","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tutv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-04T09:10:18.000Z","updated_at":"2022-04-07T06:24:57.000Z","dependencies_parsed_at":"2022-09-19T08:40:26.867Z","dependency_job_id":null,"html_url":"https://github.com/tutv/httpmq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tutv/httpmq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fhttpmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fhttpmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fhttpmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fhttpmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tutv","download_url":"https://codeload.github.com/tutv/httpmq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fhttpmq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32031070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["amqp","nodejs","npm","npm-package","rabbitmq"],"created_at":"2024-12-10T10:11:41.602Z","updated_at":"2026-04-20T03:01:57.624Z","avatar_url":"https://github.com/tutv.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"httpmq ![npm](https://img.shields.io/npm/v/httpmq) ![CircleCI](https://img.shields.io/circleci/build/github/tutv/httpmq) ![NPM](https://img.shields.io/npm/l/httpmq) ![npm](https://img.shields.io/npm/dm/httpmq)\n-------\n\nRabbitMQ\nvia [HTTP API](https://rawcdn.githack.com/rabbitmq/rabbitmq-server/v3.9.14/deps/rabbitmq_management/priv/www/api/index.html)\nin Node.js\n\nInstall\n-------\n\n```bash\nnpm install httpmq --save\n# yarn add httpmq\n```\n\n### Create a client\n\n```javascript\nconst {createClient} = require('httpmq')\n\nconst uri = 'http://localhost:15672/vhost?prefixQueue=prefix'\nconst client = createClient(uri)\n```\n\n### Functions\n\n#### 1. Connections\n\n```javascript\n// Get list connections\nconst connections = await client.listConnections()\n\n```\n\n#### 2. Queues\n\n```javascript\n// Get list queues\nconst queues = await client.listQueues()\n\n// Get sepecific queue\nconst queue = await client.getQueue('queueName')\n\n// Send to queue\nawait client.sendToQueue('queueName', body, {ttl: 7200_000})\n```\n\nLicense\n-------\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutv%2Fhttpmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftutv%2Fhttpmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutv%2Fhttpmq/lists"}