{"id":22311704,"url":"https://github.com/marcobarcelos/node-msmq","last_synced_at":"2025-07-29T08:32:32.287Z","repository":{"id":143897899,"uuid":"58891277","full_name":"marcobarcelos/node-msmq","owner":"marcobarcelos","description":"A MSMQ implementation for node.js","archived":false,"fork":false,"pushed_at":"2018-08-02T17:23:17.000Z","size":7,"stargazers_count":8,"open_issues_count":4,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-12T05:23:48.740Z","etag":null,"topics":["javascript","message-queue","msmq","msmqueue","node-msmq","nodejs","queue","windows"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/marcobarcelos.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-16T00:08:59.000Z","updated_at":"2024-07-11T05:05:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0e0be78-63ec-45b6-ac89-9be95b2808a7","html_url":"https://github.com/marcobarcelos/node-msmq","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/marcobarcelos/node-msmq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarcelos%2Fnode-msmq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarcelos%2Fnode-msmq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarcelos%2Fnode-msmq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarcelos%2Fnode-msmq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcobarcelos","download_url":"https://codeload.github.com/marcobarcelos/node-msmq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcobarcelos%2Fnode-msmq/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267653265,"owners_count":24122170,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":["javascript","message-queue","msmq","msmqueue","node-msmq","nodejs","queue","windows"],"created_at":"2024-12-03T21:26:57.618Z","updated_at":"2025-07-29T08:32:32.279Z","avatar_url":"https://github.com/marcobarcelos.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-msmq\n\n\u003e A MSMQ implementation for node.js\n\n## Install\n\n```\n$ npm install --save node-msmq\n```\n\n## Usage\n\n### Send a message\n\nSends a message to a MSMQ queue.\n\n```js\nconst msmq = require('node-msmq');\n\nvar queue = msmq.openOrCreateQueue('.\\\\Private$\\\\MyAwesomeQueue');\n\n// Send message to queue\nqueue.send('Hello from Node.JS!');\n```\n\n### Receive messages\n\nStart receiving messages from a queue.\n\n```js\nconst msmq = require('node-msmq');\n\nvar queue = msmq.openOrCreateQueue('.\\\\Private$\\\\MyAwesomeQueue');\n\n// Set receive listener callback\nqueue.on('receive', (msg) =\u003e {\n  console.log(msg.body);\n});\n\n// Start receiving messages from the queue\nqueue.startReceiving();\n```\n\n### Get all messages\n\nGets all messages without removing them from queue.\n\n```js\nconst msmq = require('node-msmq');\n\nvar queue = msmq.openOrCreateQueue('.\\\\Private$\\\\MyAwesomeQueue');\nvar messages = queue.getAllMessages();\n```\n\n### Purge a queue\n\nClears all messages from the queue.\n\n```js\nconst msmq = require('node-msmq');\n\nvar queue = msmq.openOrCreateQueue('.\\\\Private$\\\\MyAwesomeQueue');\nqueue.purge();\n```\n\n## License\n\nMIT © [Marco Barcelos](http://marcobarcelos.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcobarcelos%2Fnode-msmq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcobarcelos%2Fnode-msmq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcobarcelos%2Fnode-msmq/lists"}