{"id":17190392,"url":"https://github.com/theworkflow/sample-worker-queue","last_synced_at":"2025-08-01T07:07:12.218Z","repository":{"id":145706825,"uuid":"90303964","full_name":"theworkflow/sample-worker-queue","owner":"theworkflow","description":"Sample worker queue","archived":false,"fork":false,"pushed_at":"2017-05-04T20:03:40.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-18T06:42:36.210Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/theworkflow.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":"2017-05-04T19:53:44.000Z","updated_at":"2017-05-04T19:59:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"56b6174a-fa7c-4a52-8950-81fe2e25bb5c","html_url":"https://github.com/theworkflow/sample-worker-queue","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theworkflow%2Fsample-worker-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theworkflow%2Fsample-worker-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theworkflow%2Fsample-worker-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theworkflow%2Fsample-worker-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theworkflow","download_url":"https://codeload.github.com/theworkflow/sample-worker-queue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245407763,"owners_count":20610232,"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":[],"created_at":"2024-10-15T01:22:27.273Z","updated_at":"2025-03-25T05:53:30.052Z","avatar_url":"https://github.com/theworkflow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# worker-queue\n\n[![version](https://img.shields.io/npm/v/worker-queue.svg?style=flat-square)][version]\n[![build](https://img.shields.io/travis/theworkflow/worker-queue/master.svg?style=flat-square)][build]\n[![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)][license]\n\nSmall sample queuing system implementation.\n\n## Install\n\n`$ npm install worker-queue`\n\n## Usage\n\n```javascript\nconst queue = require('worker-queue')\n\nconst worker = (data, done) =\u003e {\n  // handle data\n  done(null, data)\n}\n\nconst notifier = () =\u003e console.log('all jobs completed')\nconst options = { concurrency: 1, notifier }\n\nconst client = queue(worker, options)\n\nclient.push({ test: true }, (err, result) =\u003e {\n  // do something\n})\n```\n\n## License\n\n[MIT](LICENSE.md)\n\n[version]: https://www.npmjs.com/package/worker-queue\n[build]: https://travis-ci.org/theworkflow/sample-worker-queue\n[license]: https://raw.githubusercontent.com/theworkflow/sample-worker-queue/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheworkflow%2Fsample-worker-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheworkflow%2Fsample-worker-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheworkflow%2Fsample-worker-queue/lists"}