{"id":17640658,"url":"https://github.com/kritzware/nodeq","last_synced_at":"2026-05-18T02:31:53.050Z","repository":{"id":85620340,"uuid":"76283866","full_name":"kritzware/nodeq","owner":"kritzware","description":"Promise/Asynchronous based job queue and scheduler for node.js","archived":false,"fork":false,"pushed_at":"2017-07-12T09:14:53.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-28T22:52:22.241Z","etag":null,"topics":["job-scheduler","kappa","nodejs","queue","scheduler"],"latest_commit_sha":null,"homepage":"","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/kritzware.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-12-12T18:28:48.000Z","updated_at":"2020-04-08T08:09:17.000Z","dependencies_parsed_at":"2023-03-04T19:30:16.349Z","dependency_job_id":null,"html_url":"https://github.com/kritzware/nodeq","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kritzware/nodeq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritzware%2Fnodeq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritzware%2Fnodeq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritzware%2Fnodeq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritzware%2Fnodeq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kritzware","download_url":"https://codeload.github.com/kritzware/nodeq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kritzware%2Fnodeq/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162607,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"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":["job-scheduler","kappa","nodejs","queue","scheduler"],"created_at":"2024-10-23T06:04:51.594Z","updated_at":"2026-05-18T02:31:53.031Z","avatar_url":"https://github.com/kritzware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nodeq\n\n### Usage:\nCurrently not released as an NPM package. If you wish to run the examples below, they are already setup in `test.js`\n\n### Example:\n\n```javascript\nonst nodeq = require('nodeq')\n\nconst Queue = new nodeq.Queue()\n\nfunction successJob() {\n  return new Promise((resolve, reject) =\u003e {\n    setTimeout(function() {\n      console.log('successJob done')\n      resolve()\n    }, 2000)\n  })\n}\n\nfunction errorJob() {\n  return new Promise((resolve, reject) =\u003e {\n    setTimeout(function() {\n      reject(new Error('bad_job_err'))\n    }, 2000)\n  })\n}\n\nfor(let i = 0; i \u003c 1000; i++) {\n  const random = Math.round(Math.random())\n  Queue.addJob('some_task', async done =\u003e {\n    if(random) {\n      await successJob()\n      done()\n    } else {\n      await errorJob()\n      done()\n    }\n  })\n}\n\nQueue.start('* * * * *')\n\nQueue.on('error', (job, err) =\u003e {\n  console.log(err)\n})\n```\n\n### Dependencies:\n![](https://ndv.glitch.me/ipfs/js-ipfs.svg?ratio=0.2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkritzware%2Fnodeq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkritzware%2Fnodeq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkritzware%2Fnodeq/lists"}